nitrohaxTWL/BootLoaderTWL/source/module_params.h
ApacheThunder 0872e70084 DSi/3DS Support, add second bootloader for TWL
* Original bootloader doesn't currently support TWL carts so a second
one is used in those cases. (still unknown if cheat engine will work for
them however)
* Main code and bootloader updated to account for DSi/3DS consoles.
2023-09-26 23:31:33 -05:00

24 lines
455 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