summaryrefslogtreecommitdiff
path: root/engine/rtc
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2020-07-10 20:12:38 -0400
committerRangi <remy.oukaour+rangi42@gmail.com>2020-07-13 10:59:22 -0400
commit4eeab8973c8367b3ae8885d158197392489e6174 (patch)
tree4734c3387645630e3092ef858b2433159a8abdf6 /engine/rtc
parent30c327276c937e06e3c8b7990cb9029937739f8e (diff)
Disassemble the final English debug ROMs
Diffstat (limited to 'engine/rtc')
-rw-r--r--engine/rtc/rtc.asm10
1 files changed, 5 insertions, 5 deletions
diff --git a/engine/rtc/rtc.asm b/engine/rtc/rtc.asm
index dcd8494d..3e765b87 100644
--- a/engine/rtc/rtc.asm
+++ b/engine/rtc/rtc.asm
@@ -130,12 +130,12 @@ _GetClock:
bit 6, a ; halt
ret z
- ld a, BANK(sRTCStatusFlags)
+ ld a, BANK(sRTCHaltCheckValue)
call OpenSRAM
- ld a, $34
- ld [sUnusedRTCMinutes], a
- ld a, $12
- ld [sUnusedRTCHours], a
+ ld a, LOW(RTC_HALT_VALUE)
+ ld [sRTCHaltCheckValue + 0], a
+ ld a, HIGH(RTC_HALT_VALUE)
+ ld [sRTCHaltCheckValue + 1], a
call CloseSRAM
ret