aboutsummaryrefslogtreecommitdiff
path: root/src-z80/core/sfx.z80
diff options
context:
space:
mode:
Diffstat (limited to 'src-z80/core/sfx.z80')
-rw-r--r--src-z80/core/sfx.z805
1 files changed, 1 insertions, 4 deletions
diff --git a/src-z80/core/sfx.z80 b/src-z80/core/sfx.z80
index f32a8f0..6a553bb 100644
--- a/src-z80/core/sfx.z80
+++ b/src-z80/core/sfx.z80
@@ -284,13 +284,9 @@ ClearSFX:
ld l, a
push bc
- push de
- push hl
ld a, b
ld b, (hl)
call LoadFMDirect
- pop hl
- pop de
pop bc
PollPCM
@@ -298,6 +294,7 @@ ClearSFX:
ld a, b ; Restore BGM FM volume
add RAM_BGMFMVol&$FF
ld l, a
+ ld a, b
ld b, (hl)
call SetFMVolLoad