Use ~X instead of $ff ^ X

This commit is contained in:
Rangi 2021-11-23 21:00:07 -05:00
parent 865d37e02a
commit 09e92c554c
6 changed files with 8 additions and 8 deletions

View file

@ -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