diff options
Diffstat (limited to 'src/mame/drivers/pturn.cpp')
-rw-r--r-- | src/mame/drivers/pturn.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/mame/drivers/pturn.cpp b/src/mame/drivers/pturn.cpp index 38ceea02897..add0ace9755 100644 --- a/src/mame/drivers/pturn.cpp +++ b/src/mame/drivers/pturn.cpp @@ -550,13 +550,11 @@ MACHINE_CONFIG_START(pturn_state::pturn) /* sound hardware */ SPEAKER(config, "mono").front_center(); - MCFG_GENERIC_LATCH_8_ADD("soundlatch") + GENERIC_LATCH_8(config, m_soundlatch); - MCFG_DEVICE_ADD("ay1", AY8910, 2000000) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) + AY8910(config, "ay1", 2000000).add_route(ALL_OUTPUTS, "mono", 0.25); - MCFG_DEVICE_ADD("ay2", AY8910, 2000000) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25) + AY8910(config, "ay2", 2000000).add_route(ALL_OUTPUTS, "mono", 0.25); MACHINE_CONFIG_END |