mirror of
https://github.com/nitraiolo/CfgUSBLoader.git
synced 2024-10-22 06:05:06 +02:00
c9df95e9d1
GC - if nintendont_config_mode=arg is set nintendont configuration is passed via command line argument GC - added minimum nitnendont version check before game load GC - added possibility to update nintendont as a plugin if update_nintendont=1 is set Internals - added UStealth support Internals - fixed plugins update URLs Usability - fixed reboot and exit behaviour Usability - WFC patching options
21 lines
756 B
C
21 lines
756 B
C
#ifndef _FILEOPS
|
|
#define _FILEOPS
|
|
|
|
bool fsop_GetFileSizeBytes (char *path, size_t *filesize); // for me stats st_size report always 0 :(
|
|
bool fsop_FileExist (char *fn);
|
|
bool fsop_DirExist (char *path);
|
|
bool fsop_CopyFile (char *source, char *target);
|
|
bool fsop_MakeFolder (char *path);
|
|
bool fsop_CopyFolder (char *source, char *target);
|
|
bool fsop_CreateFolderTree (char *path);
|
|
void fsop_deleteFolder (char *source);
|
|
//added from Postloader
|
|
int fsop_CountFolderTree (char *path);
|
|
u8 *fsop_ReadFile (char *path, size_t bytes2read, size_t *bytesReaded);
|
|
bool fsop_WriteFile (char *path, u8 *buff, size_t len);
|
|
|
|
u32 fsop_GetFolderKb (char *source);
|
|
u64 fsop_GetFolderBytes (char *source);
|
|
u32 fsop_GetFreeSpaceKb (char *path);
|
|
|
|
#endif |