2010-05-29 09:38:54 +02:00
|
|
|
#ifndef _FAT_UTIL_
|
|
|
|
#define _FAT_UTIL_
|
|
|
|
|
|
|
|
#include <gctypes.h>
|
|
|
|
|
|
|
|
#include "usbloader/disc.h"
|
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
s32 FAT_DeleteDir(const char *dirpath);
|
2010-05-29 09:38:54 +02:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
s32 FFS_to_FAT_Copy(const char *ffsdirpath, const char *fatdirpath);
|
2010-05-29 09:38:54 +02:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
void create_FAT_FFS_Directory(struct discHdr *header);
|
2010-05-29 09:38:54 +02:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
int test_FAT_game(char * directory);
|
2010-05-29 09:38:54 +02:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
char *get_FAT_directory1(void);
|
2010-05-29 09:38:54 +02:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
char *get_FAT_directory2(void);
|
2010-05-29 09:38:54 +02:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
char *get_FFS_directory1(void);
|
2010-05-29 09:38:54 +02:00
|
|
|
|
2010-09-24 02:48:03 +02:00
|
|
|
char *get_FFS_directory2(void);
|
2010-05-29 09:38:54 +02:00
|
|
|
|
|
|
|
#endif
|