summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/coinmstr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/coinmstr.cpp')
-rw-r--r--src/mame/drivers/coinmstr.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/coinmstr.cpp b/src/mame/drivers/coinmstr.cpp
index 2fc4f6ec92e..555a42a4ed0 100644
--- a/src/mame/drivers/coinmstr.cpp
+++ b/src/mame/drivers/coinmstr.cpp
@@ -1291,9 +1291,9 @@ MACHINE_CONFIG_START(coinmstr_state::coinmstr)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- MCFG_DEVICE_ADD("aysnd", AY8910, SND_CLOCK)
- MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW1"))
- MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
+ ay8910_device &aysnd(AY8910(config, "aysnd", SND_CLOCK));
+ aysnd.port_a_read_callback().set_ioport("DSW1");
+ aysnd.add_route(ALL_OUTPUTS, "mono", 0.25);
MACHINE_CONFIG_END
MACHINE_CONFIG_START(coinmstr_state::quizmstr)