From 75baff98260a8d962a85cc3fba6fef0646acc463 Mon Sep 17 00:00:00 2001 From: PikalaxALT Date: Tue, 30 Jun 2020 10:33:20 -0400 Subject: Retire arm9.lcf --- arm9/modules/11/asm/module_11.s | 10 ---------- arm9/modules/11/src/module_11_sinit.c | 4 ++++ 2 files changed, 4 insertions(+), 10 deletions(-) create mode 100644 arm9/modules/11/src/module_11_sinit.c (limited to 'arm9/modules/11') 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" -- cgit v1.2.3