summaryrefslogtreecommitdiff
path: root/arm9/modules/11
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2020-06-30 10:33:20 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2020-06-30 10:33:20 -0400
commit75baff98260a8d962a85cc3fba6fef0646acc463 (patch)
tree17b1f725d489ef1b3e7f8dcc9087b2243c553d71 /arm9/modules/11
parent6bf50a629edd45a3758596ee701a4f927bb179cd (diff)
Retire arm9.lcf
Diffstat (limited to 'arm9/modules/11')
-rw-r--r--arm9/modules/11/asm/module_11.s10
-rw-r--r--arm9/modules/11/src/module_11_sinit.c4
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"