summaryrefslogtreecommitdiff
path: root/home/lcd.asm
diff options
context:
space:
mode:
Diffstat (limited to 'home/lcd.asm')
-rw-r--r--home/lcd.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/lcd.asm b/home/lcd.asm
index e2fb4c5a9..3899f0816 100644
--- a/home/lcd.asm
+++ b/home/lcd.asm
@@ -6,7 +6,7 @@ Unreferenced_Function547:: ; 547
cp rSCX - $ff00
ret nz
ld c, a
- ld a, [LYOverrides]
+ ld a, [wLYOverrides]
ld [$ff00+c], a
ret
; 552
@@ -22,7 +22,7 @@ LCD:: ; 552
push bc
ld a, [rLY]
ld c, a
- ld b, HIGH(LYOverrides)
+ ld b, HIGH(wLYOverrides)
ld a, [bc]
ld b, a
ld a, [hLCDCPointer]