summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/mario.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/mario.c')
-rw-r--r--src/mame/audio/mario.c18
1 files changed, 1 insertions, 17 deletions
diff --git a/src/mame/audio/mario.c b/src/mame/audio/mario.c
index 9f48522fc3a..34512aaa943 100644
--- a/src/mame/audio/mario.c
+++ b/src/mame/audio/mario.c
@@ -603,22 +603,6 @@ static ADDRESS_MAP_START( masao_sound_map, AS_PROGRAM, 8, mario_state )
AM_RANGE(0x6000, 0x6000) AM_DEVWRITE("aysnd", ay8910_device, address_w)
ADDRESS_MAP_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
-};
-
/*************************************
*
@@ -651,7 +635,7 @@ MACHINE_CONFIG_FRAGMENT( masao_audio )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("aysnd", AY8910, 14318000/6)
- MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_AY8910_PORT_A_READ_CB(READ8(driver_device, soundlatch_byte_r))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END