summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mugsmash.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mugsmash.cpp')
-rw-r--r--src/mame/drivers/mugsmash.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/mugsmash.cpp b/src/mame/drivers/mugsmash.cpp
index e2871564057..f8a2d19882d 100644
--- a/src/mame/drivers/mugsmash.cpp
+++ b/src/mame/drivers/mugsmash.cpp
@@ -428,10 +428,10 @@ MACHINE_CONFIG_START(mugsmash_state::mugsmash)
GENERIC_LATCH_8(config, m_soundlatch);
m_soundlatch->data_pending_callback().set_inputline(m_audiocpu, INPUT_LINE_NMI);
- MCFG_DEVICE_ADD("ymsnd", YM2151, 3579545)
- MCFG_YM2151_IRQ_HANDLER(INPUTLINE("audiocpu", 0))
- MCFG_SOUND_ROUTE(0, "lspeaker", 1.00) /* music */
- MCFG_SOUND_ROUTE(1, "rspeaker", 1.00)
+ ym2151_device &ymsnd(YM2151(config, "ymsnd", 3579545));
+ ymsnd.irq_handler().set_inputline(m_audiocpu, 0);
+ ymsnd.add_route(0, "lspeaker", 1.00); /* music */
+ ymsnd.add_route(1, "rspeaker", 1.00);
MCFG_DEVICE_ADD("oki", OKIM6295, 1122000, okim6295_device::PIN7_HIGH) // clock frequency & pin 7 not verified
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "lspeaker", 0.50) /* sound fx */