From f60c72b8d7399c2111fca4bdb7efd01690edee16 Mon Sep 17 00:00:00 2001 From: aaaaaa123456789 Date: Fri, 19 Jul 2019 05:20:49 -0300 Subject: [PATCH] QoL #7: clear all of WRAM, not just banks 0-1 --- home/init.asm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/home/init.asm b/home/init.asm index e5c348a8..2bdda6f7 100644 --- a/home/init.asm +++ b/home/init.asm @@ -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::