GBA-Exploader/arm9/source/ctrl_tbl.h
ApacheThunder 11ea610150 Fix fifo ...
* FIFO on arm7 appears to now work as intended.
* GBA mode switch funcition remains broken.
* Default GBA_Exploader.ini file now created if one is not present.
* Moved GBA_File struct to ctrl_tble and removed duplicate from main.c.
This was causing issues where I would forget to update both when I
removed the now unused Alias char array. All code now shares the single
instance which will prevent this issue should this struct need to be
updated in the future.
2024-05-08 15:24:51 -05:00

33 lines
395 B
C

struct GBA_File {
char filename[512];
char gametitle[13];
char gamecode[5];
u32 type;
u32 filesize;
};
struct ctrl_tbl {
u8 sign[128];
u16 mode;
u8 save_flg[2];
u32 save_siz[2];
char filer[116];
u8 sav_nam[2][512];
u8 path[256];
};
extern struct ctrl_tbl ctrl;
#ifdef __cplusplus
extern "C" {
#endif
extern void ctrl_get();
extern void ctrl_set();
#ifdef __cplusplus
}
#endif