summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@gmail.com>2020-04-26 14:54:14 -0400
committerPikalaxALT <PikalaxALT@gmail.com>2020-04-26 14:54:14 -0400
commitb6ba429e8c355db4c79044e9b07a652019cade95 (patch)
treeb45a730779effd4758aa932d26162cf67892ea8f
parentd3b82e334c6f59dc3aed07588ece8cb571ed7349 (diff)
Comment on SDK version
-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