From 4e263a920a8bf375054f3dc45b9b2ca4c86ba14b Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Mon, 5 Apr 2021 00:21:16 -0700 Subject: ymfm: Better fix for wrong sounds in megadriv sor2; mark the system modified when the mode register is written as well. --- src/devices/sound/ymfm.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/devices/sound/ymfm.cpp b/src/devices/sound/ymfm.cpp index 7c32b1a2eab..44a869bc1fd 100644 --- a/src/devices/sound/ymfm.cpp +++ b/src/devices/sound/ymfm.cpp @@ -3232,6 +3232,9 @@ TIMER_CALLBACK_MEMBER(ymfm_engine_base::check_interrupts) template TIMER_CALLBACK_MEMBER(ymfm_engine_base::synced_mode_w) { + // mark all channels as modified + m_modified_channels = ALL_CHANNELS; + // actually write the mode register now u32 dummy1, dummy2; m_regs.write(RegisterType::REG_MODE, param, dummy1, dummy2); -- cgit v1.2.3