mirror of
https://github.com/ApacheThunder/nitrohaxTWL.git
synced 2025-06-19 03:55:45 -04:00

* 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.
24 lines
455 B
C
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
|
|
|