summaryrefslogtreecommitdiff
path: root/engine/rtc/rtc.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-06-17 11:29:00 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-06-17 11:29:00 -0400
commitbe93ab33a752fe0360c3b23dd4f33e1b0a05bf0e (patch)
tree8fad7073f61b88e5080946d6f38669c3b67f2452 /engine/rtc/rtc.asm
parent8019db3ea98ee60d3e6675431e07819b83daf04c (diff)
Harmonize engine/{phone, pokedex, pokegear, printer, rtc, tilesets} with pokegold
To do: engine/{menus, movie, overworld, pokemon}
Diffstat (limited to 'engine/rtc/rtc.asm')
-rw-r--r--engine/rtc/rtc.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine/rtc/rtc.asm b/engine/rtc/rtc.asm
index c7c4fae9e..6577598f3 100644
--- a/engine/rtc/rtc.asm
+++ b/engine/rtc/rtc.asm
@@ -74,11 +74,11 @@ StageRTCTimeForSave:
ret
SaveRTC:
- ld a, $a
+ ld a, SRAM_ENABLE
ld [MBC3SRamEnable], a
call LatchClock
ld hl, MBC3RTC
- ld a, $c
+ ld a, RTC_DH
ld [MBC3SRamBank], a
res 7, [hl]
ld a, BANK(sRTCStatusFlags)