summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2021-04-05 00:21:16 -0700
committer Aaron Giles <aaron@aarongiles.com>2021-04-05 00:21:16 -0700
commit4e263a920a8bf375054f3dc45b9b2ca4c86ba14b (patch)
tree6650e5cd45fbff495a179ff4ebb249f6e1055fe1
parent02dab0460f2b965b5023622127c55e674560ce82 (diff)
ymfm: Better fix for wrong sounds in megadriv sor2; mark the system modified when the mode register is written as well.
-rw-r--r--src/devices/sound/ymfm.cpp3
1 files changed, 3 insertions, 0 deletions
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<RegisterType>::check_interrupts)
template<class RegisterType>
TIMER_CALLBACK_MEMBER(ymfm_engine_base<RegisterType>::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);