summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--arm9/arm9.lcf1
-rw-r--r--arm9/asm/crt0.s9
2 files changed, 6 insertions, 4 deletions
diff --git a/arm9/arm9.lcf b/arm9/arm9.lcf
index aa3c002d..dbf326b1 100644
--- a/arm9/arm9.lcf
+++ b/arm9/arm9.lcf
@@ -15,6 +15,7 @@ SECTIONS {
.text : AT (0x0) {
secure.o (.text)
crt0.o (.text)
+ crt0.o (.version)
main.o (.text)
FUN_02000DF4.o (.text)
unk_02000E0C.o (.text)
diff --git a/arm9/asm/crt0.s b/arm9/asm/crt0.s
index 3b4ec179..aaf2d22f 100644
--- a/arm9/asm/crt0.s
+++ b/arm9/asm/crt0.s
@@ -265,10 +265,11 @@ _start_ModuleParams:
.balign 16, 0
- ; .version
- .word 0x03027531
- .word 0xdec00621
- .byte 0xde, 0xc0, 0x06, 0x21
+ .section .version
+ ; NITRO SDK 3.2.30001
+ .word (3 << 24) | (2 << 16) | 30001
+ .word 0xdec00621 ; Nitro code BE
+ .word 0x2106c0de ; Nitro code LE
# strings
.balign 4