header: correct device capacity / hook addresses

This commit is contained in:
Zack Buhman 2024-09-02 23:04:13 -05:00
parent 85c41eed53
commit 3b7a18bb5d
2 changed files with 7 additions and 6 deletions

3
.gitignore vendored
View File

@ -6,4 +6,5 @@ __pycache__
*.bin
*.nds
.~lock*
*.csv
*.csv
*.dsi

View File

@ -1,11 +1,11 @@
.section .text.header
.ascii "game title " /* Game Title */
.ascii "NTR1" /* Game Code */
.ascii "AAAA" /* Game Code */
.ascii "00" /* Maker Code */
.byte 0x0 /* Unit Code */
.byte 0x0 /* Encryption Seed Select */
.byte 0x8 /* Device capacity */
.byte 0x0 /* Device type */
.byte 0x0 /* Device capacity */
.fill 7,1,0x0 /* Reserved */
.byte 0x0 /* Reserved */
.byte 0x0 /* NDS region */
@ -32,8 +32,8 @@
.long 0x00000000 /* Icon/Title offset */
.short 0x4bff /* Secure Area Checksum */
.short 0x0d7e /* Secure Area Delay */
.long 0x02000a58 /* ARM9 auto load list hook ram address */
.long 0x02380158 /* ARM7 auto load list hook ram address */
.long 0x00000000 /* ARM9 auto load list hook ram address */
.long 0x00000000 /* ARM7 auto load list hook ram address */
.fill 8,1,0x0 /* Secure Area Disable */
.long _rom_size /* Total used rom size */
.long _header_size /* ROM header size */