Use ~X instead of $ff ^ X

This commit is contained in:
Rangi
2021-11-23 20:37:18 -05:00
parent ab0f9c287a
commit e706b878d9
16 changed files with 23 additions and 23 deletions

View File

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