GBA-Exploader/arm9/source/ctrl_tbl.h
ApacheThunder 540515c7fc Add game specific gbaframe support ...
* Can now use gbaframes specific to a gba rom being loaded to ram/flash.
Have a bmp file with filename matching the game rom being flashed in
GBA_SIGN path. If it finds a matching BMP it will use that before
falling back to the default gbaframe.bmp paths.
* nds-bootstrap now used for booting retail NDS roms from file browser.
Note that currently GBA-Exploader does not create new save files so only
games with existing save files (currently hardcoded to GBA_SAV path like
with GBA games) can be booted with this.
2024-11-17 15:44:06 -06:00

36 lines
458 B
C

struct GBA_File {
char filename[512];
char gametitle[13];
char gamecode[5];
u32 type;
u32 filesize;
int isNDSFile;
int isHomebrewNDS;
char ndssavfilename[512];
};
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