diff options
Diffstat (limited to 'src/mame/drivers/sanremo.cpp')
-rw-r--r-- | src/mame/drivers/sanremo.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/sanremo.cpp b/src/mame/drivers/sanremo.cpp index 6ed2c6e639c..9d70666ebbc 100644 --- a/src/mame/drivers/sanremo.cpp +++ b/src/mame/drivers/sanremo.cpp @@ -387,9 +387,9 @@ MACHINE_CONFIG_START(sanremo_state::sanremo) /* sound hardware */ SPEAKER(config, "mono").front_center(); - MCFG_DEVICE_ADD("ay8910", AY8910, SND_CLOCK) - MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW")) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00) + ay8910_device &ay8910(AY8910(config, "ay8910", SND_CLOCK)); + ay8910.port_a_read_callback().set_ioport("DSW"); + ay8910.add_route(ALL_OUTPUTS, "mono", 1.00); MACHINE_CONFIG_END |