summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/looping.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/looping.c')
-rw-r--r--src/mame/drivers/looping.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/src/mame/drivers/looping.c b/src/mame/drivers/looping.c
index 03c32b22650..9c244919ac8 100644
--- a/src/mame/drivers/looping.c
+++ b/src/mame/drivers/looping.c
@@ -617,23 +617,6 @@ static GFXDECODE_START( looping )
GFXDECODE_END
-
-/*************************************
- *
- * Sound interfaces
- *
- *************************************/
-
-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
-};
-
/*************************************
*
* Machine drivers
@@ -670,7 +653,7 @@ static MACHINE_CONFIG_START( looping, looping_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("aysnd", AY8910, SOUND_CLOCK/4)
- MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_AY8910_PORT_A_READ_CB(READ8(driver_device, soundlatch_byte_r))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.20)
MCFG_SOUND_ADD("tms", TMS5220, TMS_CLOCK)