mirror of
https://github.com/ApacheThunder/NTR_Launcher.git
synced 2025-06-18 19:15:40 -04:00

* Fix issues that may prevent some retail carts from booting. * Included changes to bootloader newer commits to slot1launch code
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
|
|
|