From 3a0edd9a804639f95f498421edd9d1c6dd277c10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20M=C3=BCller?= Date: Thu, 7 Mar 2019 20:11:01 +0100 Subject: [PATCH] pokey: force recalculation of raw sound output after reset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * This fixes a regression introduced by [1] * Could not detect a performance change introduced by this [1] https://github.com/mamedev/mame/pull/4702/commits/308c3c2d04ce8f3af09f620f524579145cbbcaf0 Signed-off-by: Andreas Müller --- src/devices/sound/pokey.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/devices/sound/pokey.cpp b/src/devices/sound/pokey.cpp index 5aa797bb543..a79c8abb713 100644 --- a/src/devices/sound/pokey.cpp +++ b/src/devices/sound/pokey.cpp @@ -1031,6 +1031,7 @@ void pokey_device::write_internal(offs_t offset, uint8_t data) m_clock_cnt[0] = 0; m_clock_cnt[1] = 0; m_clock_cnt[2] = 0; + m_old_raw_inval = true; /* FIXME: Serial port reset ! */ } break;