diff options
Diffstat (limited to 'src/mame/drivers/inder.cpp')
-rw-r--r-- | src/mame/drivers/inder.cpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mame/drivers/inder.cpp b/src/mame/drivers/inder.cpp index d5d154e8364..20650f2ab10 100644 --- a/src/mame/drivers/inder.cpp +++ b/src/mame/drivers/inder.cpp @@ -1434,12 +1434,11 @@ MACHINE_CONFIG_START(inder_state::inder) /* Sound */ genpin_audio(config); SPEAKER(config, "msmvol").front_center(); - MCFG_DEVICE_ADD("msm", MSM5205, XTAL(384'000)) - MCFG_MSM5205_VCK_CALLBACK(WRITELINE("9a", ttl7474_device, clock_w)) - MCFG_DEVCB_CHAIN_OUTPUT(WRITELINE("9b", ttl7474_device, clock_w)) // order of writes is sensitive - - MCFG_MSM5205_PRESCALER_SELECTOR(S48_4B) /* 4KHz 4-bit */ - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "msmvol", 1.0) + MSM5205(config, m_msm, 384_kHz_XTAL); + m_msm->vck_callback().set(m_9a, FUNC(ttl7474_device::clock_w)); + m_msm->vck_callback().append(m_9b, FUNC(ttl7474_device::clock_w)); // order of writes is sensitive + m_msm->set_prescaler_selector(msm5205_device::S48_4B); // 4KHz 4-bit + m_msm->add_route(ALL_OUTPUTS, "msmvol", 1.0); /* Devices */ MCFG_DEVICE_ADD("ppi60", I8255A, 0 ) |