mirror of
https://github.com/holub/mame
synced 2025-04-22 08:22:15 +03:00
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:
parent
02dab0460f
commit
4e263a920a
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user