mirror of
https://github.com/thornAvery/kep-hack.git
synced 2026-02-06 15:45:24 +13:00
Use ~X instead of $ff ^ X
This commit is contained in:
parent
865d37e02a
commit
09e92c554c
6 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue