diff options
Diffstat (limited to 'arm9/modules/11')
-rw-r--r-- | arm9/modules/11/asm/module_11.s | 10 | ||||
-rw-r--r-- | arm9/modules/11/src/module_11_sinit.c | 4 |
2 files changed, 4 insertions, 10 deletions
diff --git a/arm9/modules/11/asm/module_11.s b/arm9/modules/11/asm/module_11.s index 338eaadb..ef15a30d 100644 --- a/arm9/modules/11/asm/module_11.s +++ b/arm9/modules/11/asm/module_11.s @@ -99235,16 +99235,6 @@ MOD11_0225D98C: ; 0x0225D98C .byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 .byte 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 - ; Stupid hack to override alignment - ; .section .sinit - ; 0x0225FF18 - .global SDK_OVERLAY.MODULE_11.SINIT_START - .global SDK_OVERLAY.MODULE_11.SINIT_END -SDK_OVERLAY.MODULE_11.SINIT_START: - .word MOD11_0222F284 - .word 0 -SDK_OVERLAY.MODULE_11.SINIT_END: - .section .data ; 0x0225FF20 .byte 0x00, 0x00, 0x04, 0x04, 0x04, 0x04, 0x04, 0x08, 0x04, 0x08, 0x04, 0x08, 0x08, 0x08, 0x06, 0x0C diff --git a/arm9/modules/11/src/module_11_sinit.c b/arm9/modules/11/src/module_11_sinit.c new file mode 100644 index 00000000..b798941e --- /dev/null +++ b/arm9/modules/11/src/module_11_sinit.c @@ -0,0 +1,4 @@ +#define NitroStaticInit MOD11_0222F284 +#include "global.h" +extern void MOD11_0222F284(void); +#include "sinit.h" |