summaryrefslogtreecommitdiff
path: root/arm9/modules/30
diff options
context:
space:
mode:
Diffstat (limited to 'arm9/modules/30')
-rw-r--r--arm9/modules/30/asm/module_30.s10
-rw-r--r--arm9/modules/30/src/module_30_sinit.c4
2 files changed, 5 insertions, 9 deletions
diff --git a/arm9/modules/30/asm/module_30.s b/arm9/modules/30/asm/module_30.s
index a6c7ee0d..153c1b76 100644
--- a/arm9/modules/30/asm/module_30.s
+++ b/arm9/modules/30/asm/module_30.s
@@ -729,7 +729,7 @@ _02254D98: .word 0x040002A0
_02254D9C: .word 0x040002A8
thumb_func_end MOD30_02254D28
- .section .data
+ .section .rodata
; 0x02254DA0
.byte 0x64, 0x9C, 0x52, 0x92, 0x89, 0x49, 0x25, 0x02, 0xC9, 0x49, 0x25, 0x02, 0x5D, 0x4A, 0x25, 0x02
.byte 0x00, 0x20, 0x07, 0x00, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0x00
@@ -740,11 +740,3 @@ _02254D9C: .word 0x040002A8
.byte 0x00, 0x00, 0x00, 0x00, 0x02, 0x00, 0x00, 0x00, 0xC5, 0x4C, 0x25, 0x02, 0x00, 0x00, 0x00, 0x00
.byte 0x03, 0x00, 0x00, 0x00, 0x05, 0x4D, 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_30.SINIT_START
- .global SDK_OVERLAY.MODULE_30.SINIT_END
-SDK_OVERLAY.MODULE_30.SINIT_START:
- .word MOD30_02254840
- .word 0
-SDK_OVERLAY.MODULE_30.SINIT_END:
diff --git a/arm9/modules/30/src/module_30_sinit.c b/arm9/modules/30/src/module_30_sinit.c
new file mode 100644
index 00000000..058b270d
--- /dev/null
+++ b/arm9/modules/30/src/module_30_sinit.c
@@ -0,0 +1,4 @@
+#define NitroStaticInit MOD30_02254840
+#include "global.h"
+extern void MOD30_02254840(void);
+#include "sinit.h"