summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/timelimt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/timelimt.c')
-rw-r--r--src/mame/drivers/timelimt.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/mame/drivers/timelimt.c b/src/mame/drivers/timelimt.c
index 60e71f0e34c..3399176ab99 100644
--- a/src/mame/drivers/timelimt.c
+++ b/src/mame/drivers/timelimt.c
@@ -204,16 +204,6 @@ GFXDECODE_END
/***************************************************************************/
-static const ay8910_interface ay8910_config =
-{
- AY8910_LEGACY_OUTPUT,
- AY8910_DEFAULT_LOADS,
- DEVCB_DRIVER_MEMBER(driver_device, soundlatch_byte_r),
- DEVCB_NULL,
- DEVCB_NULL,
- DEVCB_NULL
-};
-
INTERRUPT_GEN_MEMBER(timelimt_state::timelimt_irq)
{
if ( m_nmi_enabled )
@@ -258,7 +248,7 @@ static MACHINE_CONFIG_START( timelimt, timelimt_state )
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MCFG_SOUND_ADD("ay2", AY8910, 18432000/12)
- MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_AY8910_PORT_A_READ_CB(READ8(driver_device, soundlatch_byte_r))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END