ymfm: Better fix for wrong sounds in megadriv sor2; mark the system modified when the mode register is written as well.

This commit is contained in:
Aaron Giles 2021-04-05 00:21:16 -07:00
parent 02dab0460f
commit 4e263a920a

View File

@ -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);