summaryrefslogtreecommitdiff
path: root/home/time.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/time.asm')
-rw-r--r--home/time.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/time.asm b/home/time.asm
index 9ed703686..be141a066 100644
--- a/home/time.asm
+++ b/home/time.asm
@@ -48,17 +48,17 @@ GetClock:: ; 5b7
ld [hl], RTC_S
ld a, [de]
- maskbits 60
+ maskbits 60 - 1
ld [hRTCSeconds], a
ld [hl], RTC_M
ld a, [de]
- maskbits 60
+ maskbits 60 - 1
ld [hRTCMinutes], a
ld [hl], RTC_H
ld a, [de]
- maskbits 24
+ maskbits 24 - 1
ld [hRTCHours], a
ld [hl], RTC_DL