summaryrefslogtreecommitdiff
path: root/arm9/modules/42
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/modules/42')
-rw-r--r--arm9/modules/42/asm/module_42.s8
-rw-r--r--arm9/modules/42/src/module_42_sinit.c4
2 files changed, 4 insertions, 8 deletions
diff --git a/arm9/modules/42/asm/module_42.s b/arm9/modules/42/asm/module_42.s
index 89617940..e630bbb7 100644
--- a/arm9/modules/42/asm/module_42.s
+++ b/arm9/modules/42/asm/module_42.s
@@ -1155,11 +1155,3 @@ _022550C8:
.byte 0x01, 0x00, 0x0E, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
.byte 0x3D, 0x4F, 0x25, 0x02, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0xCD, 0x4F, 0x25, 0x02
.byte 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
-
- ; .section .sinit
- .global SDK_OVERLAY.MODULE_42.SINIT_START
- .global SDK_OVERLAY.MODULE_42.SINIT_END
-SDK_OVERLAY.MODULE_42.SINIT_START:
- .word MOD42_02254840
- .word 0
-SDK_OVERLAY.MODULE_42.SINIT_END:
diff --git a/arm9/modules/42/src/module_42_sinit.c b/arm9/modules/42/src/module_42_sinit.c
new file mode 100644
index 00000000..3b42fc7d
--- /dev/null
+++ b/arm9/modules/42/src/module_42_sinit.c
@@ -0,0 +1,4 @@
+#define NitroStaticInit MOD42_02254840
+#include "global.h"
+extern void MOD42_02254840(void);
+#include "sinit.h"