From afe318c402ccb108896fe5f7ea540c81694e0a7d Mon Sep 17 00:00:00 2001 From: tildearrow Date: Mon, 31 Jan 2022 17:00:52 -0500 Subject: [PATCH] seemingly fix it --- src/engine/platform/ay8930.cpp | 2 ++ src/engine/platform/sound/ay8910.cpp | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/engine/platform/ay8930.cpp b/src/engine/platform/ay8930.cpp index f746334aa..25904f86e 100644 --- a/src/engine/platform/ay8930.cpp +++ b/src/engine/platform/ay8930.cpp @@ -382,6 +382,8 @@ void DivPlatformAY8930::reset() { bank=false; immWrite(0x0d,0xa0); + immWrite(0x19,0xff); // and mask + immWrite(0x1a,0x00); // or mask } bool DivPlatformAY8930::isStereo() { diff --git a/src/engine/platform/sound/ay8910.cpp b/src/engine/platform/sound/ay8910.cpp index aeb9890c0..2d734f931 100644 --- a/src/engine/platform/sound/ay8910.cpp +++ b/src/engine/platform/sound/ay8910.cpp @@ -1268,7 +1268,6 @@ void ay8910_device::ay8910_reset_ym(bool ay8930) m_active = false; m_register_latch = 0; if (ay8930) { - printf("8930 reset\n"); m_rng = 0x1ffff; } else { m_rng = 1;