aboutsummaryrefslogtreecommitdiff
path: root/src-z80/core/sfx.z80
diff options
context:
space:
mode:
authorJavier Degirolmo2011-12-07 19:58:15 -0300
committerJavier Degirolmo2011-12-07 19:58:15 -0300
commit84ca3186406f65f65a18b18130dcecab2c78e2d3 (patch)
tree1419cf0a3e2d7baf235b1e3f5574e2be9177b7b7 /src-z80/core/sfx.z80
parent4f1d28c46ba1b4d7e9b3a7ef81e4ec7820eb041f (diff)
Some updates... Trying to fix SFX restoring but still broken
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