YAWM-ModMii-Edition/source/fat.h
0verjoY 31d2402d59 - FAT stuff:
- 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
2023-02-19 20:47:31 +01:00

31 lines
458 B
C

#ifndef _FAT_H_
#define _FAT_H_
/* 'FAT File' structure */
typedef struct {
/* Filename */
char filename[128];
/* 1 = Batch Install, 2 = Batch Uninstall - Leathl */
int install;
int installstate;
/* Filestat */
bool isdir;
bool isdol;
bool iself;
bool iswad;
size_t fsize;
} fatFile;
/* Prototypes */
void FatMount();
void FatUnmount();
char* FatGetDeviceName(u8 index);
char* FatGetDevicePrefix(u8 index);
s32 FatGetDeviceCount();
#endif