GBA-Exploader/arm9/source/ctrl_tbl.h
ApacheThunder b0e0250f0d Add prompt for Omega DE...
* Now prompts if user is using DE or regaulr Omega if EZFlash Omega is
detected. Regular omega can be used if soft reset method is used (aka, a
cart like EZFlash Parellel is used to cause console to reboot on
reinsert). If DE mode is selected setRamPage is set to normal range and
will make it use FRAM chip. Regular Omega will use page 0x40 for RTS
section of SRAM. (normal range is read only for some reason. FPGA must
unlock it after sending specific table data to SD card buffer register
which I have not got working yet)
* NDS files can now be booted. Since bootloader from nds-hb-menu was
added to fix soft-reset stuff I might as well just add in support to
boot NDS files. :P
2024-08-12 00:24:08 -05:00

34 lines
411 B
C

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