summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/taito_o.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/taito_o.c')
-rw-r--r--src/mame/drivers/taito_o.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/mame/drivers/taito_o.c b/src/mame/drivers/taito_o.c
index 322852655ae..d800e89c341 100644
--- a/src/mame/drivers/taito_o.c
+++ b/src/mame/drivers/taito_o.c
@@ -222,14 +222,6 @@ TIMER_DEVICE_CALLBACK_MEMBER(taitoo_state::parentj_interrupt)
m_maincpu->set_input_line(5, HOLD_LINE);
}
-static const ay8910_interface ay8910_config =
-{
- AY8910_LEGACY_OUTPUT,
- AY8910_DEFAULT_LOADS,
- DEVCB_INPUT_PORT("DSWA"),DEVCB_INPUT_PORT("DSWB"),
- DEVCB_NULL, DEVCB_NULL,
-};
-
void taitoo_state::machine_start()
{
}
@@ -264,7 +256,8 @@ static MACHINE_CONFIG_START( parentj, taitoo_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("ymsnd", YM2203, 2000000) /*?? MHz */
- MCFG_YM2203_AY8910_INTF(&ay8910_config)
+ MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSWA"))
+ MCFG_AY8910_PORT_B_READ_CB(IOPORT("DSWB"))
MCFG_SOUND_ROUTE(0, "mono", 0.25)
MCFG_SOUND_ROUTE(0, "mono", 0.25)
MCFG_SOUND_ROUTE(1, "mono", 1.0)