diff options
| author | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-11-23 21:00:07 -0500 |
|---|---|---|
| committer | Rangi <remy.oukaour+rangi42@gmail.com> | 2021-11-23 21:00:07 -0500 |
| commit | 09e92c554c7563b52a9484b26d96d903c7635b0d (patch) | |
| tree | 6a992ea21650f5841bb8b60f7937986a4f8da38b /home | |
| parent | Use compound assignment operators (diff) | |
| download | pokeyellow-09e92c554c7563b52a9484b26d96d903c7635b0d.tar.gz pokeyellow-09e92c554c7563b52a9484b26d96d903c7635b0d.tar.xz pokeyellow-09e92c554c7563b52a9484b26d96d903c7635b0d.zip | |
Use ~X instead of $ff ^ X
Diffstat (limited to 'home')
| -rw-r--r-- | home/lcd.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home/lcd.asm b/home/lcd.asm index 72fc70ed..5c496824 100644 --- a/home/lcd.asm +++ b/home/lcd.asm @@ -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 |
