summaryrefslogtreecommitdiff
path: root/home/lcdc.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/lcdc.asm')
-rw-r--r--home/lcdc.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/lcdc.asm b/home/lcdc.asm
index dd3fb2fb..4b350cc2 100644
--- a/home/lcdc.asm
+++ b/home/lcdc.asm
@@ -7,7 +7,7 @@ LCDC::
; [C700 + [rLY]] --> [FF00 + [hLCDCPointer]]
ldh a, [rLY]
ld l, a
- ld h, wLYOverrides / $100
+ ld h, HIGH(wLYOverrides)
ld h, [hl] ; h != not part of pointer
ldh a, [hLCDCPointer]
ld l, a