summaryrefslogtreecommitdiff
path: root/asm/rom_header.s
diff options
context:
space:
mode:
authoryenatch <yenatch@gmail.com>2016-06-18 21:44:41 -0400
committeryenatch <yenatch@gmail.com>2016-06-18 21:44:41 -0400
commit9d069cf3d6826582df588841231c9f27db54e669 (patch)
tree1f71d1898be0e61a5eea61ec90836e06a5071b1a /asm/rom_header.s
parent5ce142208ec376c237753473b59ec0d35272e8fd (diff)
parent32906c6d209005c7fe912d743a5bb8b8847d0c75 (diff)
Merge remote-tracking branch 'origin/master'
Conflicts: Makefile
Diffstat (limited to 'asm/rom_header.s')
-rw-r--r--asm/rom_header.s12
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