aboutsummaryrefslogtreecommitdiff
path: root/src-z80/core/sfx.z80
diff options
context:
space:
mode:
authorJavier Degirolmo2011-12-09 08:29:41 -0300
committerJavier Degirolmo2011-12-09 08:29:41 -0300
commitf7ef91fd060eaa724bdb6940fd1b21dd08923837 (patch)
tree6eb32206d72aa7928a1c75bbdb1e0a322b5ce1a7 /src-z80/core/sfx.z80
parent6446fde6c853329dd62621e5e82e868d7f132f00 (diff)
Fixed FM volume restoring bug (I hope?)
Diffstat (limited to 'src-z80/core/sfx.z80')
-rw-r--r--src-z80/core/sfx.z802
1 files changed, 2 insertions, 0 deletions
diff --git a/src-z80/core/sfx.z80 b/src-z80/core/sfx.z80
index 6a553bb..d008f0b 100644
--- a/src-z80/core/sfx.z80
+++ b/src-z80/core/sfx.z80
@@ -291,12 +291,14 @@ ClearSFX:
PollPCM
+ push bc
ld a, b ; Restore BGM FM volume
add RAM_BGMFMVol&$FF
ld l, a
ld a, b
ld b, (hl)
call SetFMVolLoad
+ pop bc
PollPCM
inc b