mirror of
https://github.com/modmii/YAWM-ModMii-Edition.git
synced 2024-11-22 08:09:18 +01:00
31d2402d59
- Refactored almost everything - Will mount available devices at start and unmount at exit app - Device select screen will now only show avialable devices - Added option to remount devices in the select screen - Will now warn if region checks are disabled in select screen - Added option to reenable region checks in select screen - Probably even more changes - SM wad installation: - Changed the region check functions (WIP) - While you install a SM you'll now be able to retain Priiloader - Bug fixes - Refactoring - Even more bug fixes
17 lines
442 B
C
17 lines
442 B
C
#ifndef __FILEOPS_H__
|
|
#define __FILEOPS_H__
|
|
|
|
#include <dirent.h>
|
|
#include <ogcsys.h>
|
|
|
|
bool FSOPFileExists(const char* file);
|
|
bool FSOPFolderExists(const char* path);
|
|
size_t FSOPGetFileSizeBytes(const char* path);
|
|
|
|
void FSOPDeleteFile(const char* file);
|
|
void FSOPMakeFolder(const char* path);
|
|
|
|
s32 FSOPReadOpenFile(FILE* fp, void* buffer, u32 offset, u32 length);
|
|
s32 FSOPReadOpenFileA(FILE* fp, void** buffer, u32 offset, u32 length);
|
|
|
|
#endif |