summaryrefslogtreecommitdiff
path: root/home/lcdc.asm
diff options
context:
space:
mode:
authordannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
committerdannye <33dannye@gmail.com>2020-11-04 00:06:44 -0600
commit5647ca687b92954dcf37a6ea6bfbc9a341c32de4 (patch)
treedde1937a1bfdb3a835f4155e1c2eb8f1aaf86f63 /home/lcdc.asm
parent53fcd05aa24693093d8af1dc8ec4fedd3957decc (diff)
Sync with pokered
Diffstat (limited to 'home/lcdc.asm')
-rw-r--r--home/lcdc.asm6
1 files changed, 3 insertions, 3 deletions
diff --git a/home/lcdc.asm b/home/lcdc.asm
index 6172dd0d..dd3fb2fb 100644
--- a/home/lcdc.asm
+++ b/home/lcdc.asm
@@ -1,15 +1,15 @@
LCDC::
push af
- ld a, [hLCDCPointer] ; doubles as enabling byte
+ ldh a, [hLCDCPointer] ; doubles as enabling byte
and a
jr z, .noLCDCInterrupt
push hl
; [C700 + [rLY]] --> [FF00 + [hLCDCPointer]]
- ld a, [rLY]
+ ldh a, [rLY]
ld l, a
ld h, wLYOverrides / $100
ld h, [hl] ; h != not part of pointer
- ld a, [hLCDCPointer]
+ ldh a, [hLCDCPointer]
ld l, a
ld a, h
ld h, $ff