You've already forked pokecrystal-board
mirror of
https://gitlab.com/xCrystal/pokecrystal-board.git
synced 2025-04-09 05:44:44 -07:00
Use ~X instead of $ff ^ X
This commit is contained in:
@@ -56,7 +56,7 @@ DisableLCD::
|
||||
jr nz, .wait
|
||||
|
||||
ldh a, [rLCDC]
|
||||
and $ff ^ (1 << rLCDC_ENABLE)
|
||||
and ~(1 << rLCDC_ENABLE)
|
||||
ldh [rLCDC], a
|
||||
|
||||
xor a
|
||||
|
Reference in New Issue
Block a user