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

@@ -472,7 +472,7 @@ SaveOptions:
ld bc, wOptionsEnd - wOptions
call CopyBytes
ld a, [wOptions]
and $ff ^ (1 << NO_TEXT_SCROLL)
and ~(1 << NO_TEXT_SCROLL)
ld [sOptions], a
jp CloseSRAM