mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-11-27 21:54:15 +01:00
3092a1aa2a
"http://gbatemp.net/topic/204106-wiiflow-an-open-source-gui-usb-loader/page__view__findpost__p__4176145" for the nes, snes and gb,gbc and gba emulator mod needed for it. The games are read from the default path of the emulators, that would be "fceugx/roms" for nes for example. To display the games, place the emulator dol from the link above into wiiflow/plugins. -using miigotus way for homebrew and emulator coverflow now, thanks for that, makes things shorter
25 lines
691 B
C
25 lines
691 B
C
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
#ifndef _FILEOPS
|
|
#define _FILEOPS
|
|
|
|
typedef void (*progress_callback_t)(int status,int total,void *user_data);
|
|
|
|
bool fsop_GetFileSizeBytes (char *path, size_t *filesize);
|
|
u64 fsop_GetFolderBytes (char *source);
|
|
u32 fsop_GetFolderKb (char *source);
|
|
u32 fsop_GetFreeSpaceKb (char *path);
|
|
bool fsop_FileExist(const char *fn);
|
|
bool fsop_DirExist (char *path);
|
|
bool fsop_CopyFile (char *source, char *target, progress_callback_t spinner, void *spinner_data);
|
|
bool fsop_CopyFolder (char *source, char *target, progress_callback_t spinner, void *spinner_data);
|
|
void fsop_deleteFolder(char *source);
|
|
|
|
#endif
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif |