summaryrefslogtreecommitdiff
path: root/home/lcd.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 21:19:29 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2021-11-23 21:19:29 -0500
commit7574e186e7505e237efc3ab0969fed60bec6eb9d (patch)
tree527ec48412989e98cca7827c5e31d89cdf742b05 /home/lcd.asm
parent70baa4f3e80bceedd00cafbbab219665eb189225 (diff)
parent09e92c554c7563b52a9484b26d96d903c7635b0d (diff)
Merge remote-tracking branch 'remotes/pokered/master'
Diffstat (limited to 'home/lcd.asm')
-rw-r--r--home/lcd.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/lcd.asm b/home/lcd.asm
index 72fc70ed..5c496824 100644
--- a/home/lcd.asm
+++ b/home/lcd.asm
@@ -12,7 +12,7 @@ DisableLCD::
jr nz, .wait
ldh a, [rLCDC]
- and $ff ^ rLCDC_ENABLE_MASK
+ and ~rLCDC_ENABLE_MASK
ldh [rLCDC], a
ld a, b
ldh [rIE], a