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