From 46ce4f706ea47d16db70018baedd5eb6c691ef95 Mon Sep 17 00:00:00 2001 From: Sik Date: Tue, 9 Oct 2018 13:47:50 -0300 Subject: Fixed bug where pausing and unpausing would make FM1 quieter over time --- src-z80/core/bgm.z80 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src-z80/core') 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 -- cgit v1.2.3