From 51be70275d8ece21ca2fbf341d44940365c018b5 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Wed, 22 Sep 2021 17:59:20 +0300 Subject: [PATCH] Fix broken wave RAM initialization in the boot ROM --- BootROMs/cgb_boot.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/BootROMs/cgb_boot.asm b/BootROMs/cgb_boot.asm index 848305c5..f882f814 100644 --- a/BootROMs/cgb_boot.asm +++ b/BootROMs/cgb_boot.asm @@ -25,6 +25,7 @@ Start: ; Init waveform ld c, $10 + ld hl, $FF30 .waveformLoop ldi [hl], a cpl @@ -44,7 +45,6 @@ Start: ldh [$25], a ld a, $77 ldh [$24], a - ld hl, $FF30 ; Init BG palette ld a, $fc