diff options
Diffstat (limited to 'engine/rtc/rtc.asm')
-rw-r--r-- | engine/rtc/rtc.asm | 4 |
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) |