YAWM-ModMii-Edition/source/fat.h

31 lines
458 B
C
Raw Normal View History

2017-10-16 11:55:29 +02:00
#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;
2023-02-07 22:44:16 +01:00
bool isdol;
bool iself;
bool iswad;
2017-10-16 11:55:29 +02:00
size_t fsize;
} fatFile;
/* Prototypes */
void FatMount();
void FatUnmount();
char* FatGetDeviceName(u8 index);
char* FatGetDevicePrefix(u8 index);
s32 FatGetDeviceCount();
2017-10-16 11:55:29 +02:00
#endif