nitrohaxTWL/BootLoader/source/module_params.h
ApacheThunder c9f2e88f25 Add cheat support for TWL carts...
* DSi Enhanced games now have working cheats.
* usrcheat.dat file system now used instead of old XML system.
* Due to how the new cheat file stuff works nitrohaxTWL no longer
supports being run on DS/DS LIte. Now requires DSI/3DS.
2024-11-23 23:36:34 -06:00

23 lines
454 B
C

#ifndef MODULE_PARAMS_H
#define MODULE_PARAMS_H
#include <nds/ndstypes.h>
typedef struct {
u32 auto_load_list_offset;
u32 auto_load_list_end;
u32 auto_load_start;
u32 static_bss_start;
u32 static_bss_end;
u32 compressed_static_end;
u32 sdk_version;
u32 nitro_code_be;
u32 nitro_code_le;
} module_params_t;
inline bool isSdk5(const module_params_t* moduleParams) {
return (moduleParams->sdk_version > 0x5000000);
}
#endif // MODULE_PARAMS_H