This commit is contained in:
@@ -186,7 +186,6 @@ ClearVRAM::
|
||||
ClearWRAM::
|
||||
; Wipe swappable WRAM banks (1-7)
|
||||
; Assumes CGB or AGB
|
||||
; BUG: ClearWRAM only clears WRAM bank 1 (see docs/bugs_and_glitches.md)
|
||||
|
||||
ld a, 1
|
||||
.bank_loop
|
||||
@@ -199,7 +198,7 @@ ClearWRAM::
|
||||
pop af
|
||||
inc a
|
||||
cp 8
|
||||
jr nc, .bank_loop
|
||||
jr c, .bank_loop
|
||||
ret
|
||||
|
||||
ClearsScratch::
|
||||
|
Reference in New Issue
Block a user