summaryrefslogtreecommitdiff
path: root/arm9/modules/27
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/modules/27')
-rw-r--r--arm9/modules/27/asm/module_27.s8
-rw-r--r--arm9/modules/27/src/module_27_sinit.c4
2 files changed, 4 insertions, 8 deletions
diff --git a/arm9/modules/27/asm/module_27.s b/arm9/modules/27/asm/module_27.s
index 2445df1b..4508ffdc 100644
--- a/arm9/modules/27/asm/module_27.s
+++ b/arm9/modules/27/asm/module_27.s
@@ -1459,11 +1459,3 @@ _02255338: .word 0x00000669
.byte 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xB5, 0x52, 0x25, 0x02, 0x00, 0x00, 0x00, 0x00
.byte 0x02, 0x00, 0x00, 0x00, 0xD1, 0x52, 0x25, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
-
- ; .section .sinit
- .global SDK_OVERLAY.MODULE_27.SINIT_START
- .global SDK_OVERLAY.MODULE_27.SINIT_END
-SDK_OVERLAY.MODULE_27.SINIT_START:
- .word MOD27_02254840
- .word 0
-SDK_OVERLAY.MODULE_27.SINIT_END:
diff --git a/arm9/modules/27/src/module_27_sinit.c b/arm9/modules/27/src/module_27_sinit.c
new file mode 100644
index 00000000..6b069297
--- /dev/null
+++ b/arm9/modules/27/src/module_27_sinit.c
@@ -0,0 +1,4 @@
+#define NitroStaticInit MOD27_02254840
+#include "global.h"
+extern void MOD27_02254840(void);
+#include "sinit.h"