diff options
author | YamaArashi <shadow962@live.com> | 2016-06-17 16:39:00 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-06-17 16:39:00 -0700 |
commit | cb6515e712d21b533c2f5ccc3d755694fcd5919f (patch) | |
tree | 19ca5cc385a959a5dfe5910bcce9c793bc775d02 /asm | |
parent | 723b0f247b0a61671dfec34a873e7c26632f4c03 (diff) |
sapphire rom header
Diffstat (limited to 'asm')
-rw-r--r-- | asm/rom_header.s | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/asm/rom_header.s b/asm/rom_header.s index 0e6112228..e49b4fbee 100644 --- a/asm/rom_header.s +++ b/asm/rom_header.s @@ -22,10 +22,18 @@ RomHeaderNintendoLogo: .byte 0x21,0xd4,0xf8,0x07 RomHeaderGameTitle: + .ifdef SAPPHIRE + .ascii "POKEMON SAPP" + .else .ascii "POKEMON RUBY" + .endif RomHeaderGameCode: + .ifdef SAPPHIRE + .ascii "AXPE" + .else .ascii "AXVE" + .endif RomHeaderMakerCode: .ascii "01" @@ -46,7 +54,11 @@ RomHeaderSoftwareVersion: .byte 0 RomHeaderChecksum: + .ifdef SAPPHIRE + .byte 0x55 + .else .byte 0x41 + .endif RomHeaderReserved2: .space 2 |