mirror of
https://github.com/bsnes-emu/bsnes.git
synced 2025-08-13 00:14:19 +02:00
Fix broken wave RAM initialization in the boot ROM
This commit is contained in:
@@ -25,6 +25,7 @@ Start:
|
|||||||
|
|
||||||
; Init waveform
|
; Init waveform
|
||||||
ld c, $10
|
ld c, $10
|
||||||
|
ld hl, $FF30
|
||||||
.waveformLoop
|
.waveformLoop
|
||||||
ldi [hl], a
|
ldi [hl], a
|
||||||
cpl
|
cpl
|
||||||
@@ -44,7 +45,6 @@ Start:
|
|||||||
ldh [$25], a
|
ldh [$25], a
|
||||||
ld a, $77
|
ld a, $77
|
||||||
ldh [$24], a
|
ldh [$24], a
|
||||||
ld hl, $FF30
|
|
||||||
|
|
||||||
; Init BG palette
|
; Init BG palette
|
||||||
ld a, $fc
|
ld a, $fc
|
||||||
|
Reference in New Issue
Block a user