summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/s11a.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/s11a.cpp')
-rw-r--r--src/mame/drivers/s11a.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/s11a.cpp b/src/mame/drivers/s11a.cpp
index d42e9c79466..ddfc4d8fe4f 100644
--- a/src/mame/drivers/s11a.cpp
+++ b/src/mame/drivers/s11a.cpp
@@ -261,9 +261,9 @@ MACHINE_CONFIG_START(s11a_state::s11a)
MCFG_DEVICE_PROGRAM_MAP(s11a_bg_map)
SPEAKER(config, "bg").front_center();
- MCFG_DEVICE_ADD("ym2151", YM2151, XTAL(3'579'545))
- MCFG_YM2151_IRQ_HANDLER(WRITELINE(*this, s11a_state, ym2151_irq_w))
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "bg", 0.50)
+ YM2151(config, m_ym, XTAL(3'579'545));
+ m_ym->irq_handler().set(FUNC(s11a_state::ym2151_irq_w));
+ m_ym->add_route(ALL_OUTPUTS, "bg", 0.50);
MCFG_DEVICE_ADD("dac1", MC1408, 0) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "bg", 0.25)