aboutsummaryrefslogtreecommitdiff
path: root/src-z80/core
diff options
context:
space:
mode:
authorSik2018-10-09 13:47:50 -0300
committerSik2018-10-09 13:47:50 -0300
commit46ce4f706ea47d16db70018baedd5eb6c691ef95 (patch)
tree6178be71b27a3b35bd742e3ef320d8b7e1cd485f /src-z80/core
parent3d28d692e233bd0b58125e7c61120b0c2dbf8d9c (diff)
Fixed bug where pausing and unpausing would make FM1 quieter over time
Diffstat (limited to 'src-z80/core')
-rw-r--r--src-z80/core/bgm.z804
1 files changed, 3 insertions, 1 deletions
diff --git a/src-z80/core/bgm.z80 b/src-z80/core/bgm.z80
index c043616..cb8439a 100644
--- a/src-z80/core/bgm.z80
+++ b/src-z80/core/bgm.z80
@@ -332,7 +332,9 @@ ClearBGM:
.killpsg:
PollPCM
- ld (hl), $00 ; Reset BGM volume
+ ld a, $0F
+ ld (de), a ; Reset BGM volume
+ ;ld (hl), 0
ld a, e
sub 15