summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/arabian.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/arabian.c')
-rw-r--r--src/mame/drivers/arabian.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/src/mame/drivers/arabian.c b/src/mame/drivers/arabian.c
index 397d116518d..0ddde8616db 100644
--- a/src/mame/drivers/arabian.c
+++ b/src/mame/drivers/arabian.c
@@ -312,25 +312,6 @@ static INPUT_PORTS_START( arabiana )
INPUT_PORTS_END
-
-/*************************************
- *
- * Sound definitions
- *
- *************************************/
-
-static const ay8910_interface ay8910_config =
-{
- AY8910_LEGACY_OUTPUT,
- AY8910_DEFAULT_LOADS,
- DEVCB_NULL,
- DEVCB_NULL,
- DEVCB_DRIVER_MEMBER(arabian_state,ay8910_porta_w),
- DEVCB_DRIVER_MEMBER(arabian_state,ay8910_portb_w)
-};
-
-
-
/*************************************
*
* Machine driver
@@ -379,7 +360,8 @@ static MACHINE_CONFIG_START( arabian, arabian_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("aysnd", AY8910, MAIN_OSC/4/2)
- MCFG_SOUND_CONFIG(ay8910_config)
+ MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(arabian_state, ay8910_porta_w))
+ MCFG_AY8910_PORT_B_WRITE_CB(WRITE8(arabian_state, ay8910_portb_w))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
MACHINE_CONFIG_END