diff options
Diffstat (limited to 'src/mame/drivers/taito_f2.c')
-rw-r--r-- | src/mame/drivers/taito_f2.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mame/drivers/taito_f2.c b/src/mame/drivers/taito_f2.c index a0afb5349de..76093c80de8 100644 --- a/src/mame/drivers/taito_f2.c +++ b/src/mame/drivers/taito_f2.c @@ -2818,17 +2818,6 @@ WRITE8_MEMBER(taitof2_state::cameltrya_porta_w) // Implement // } -static const ay8910_interface ay8910_config = -{ - AY8910_LEGACY_OUTPUT, - AY8910_DEFAULT_LOADS, - DEVCB_NULL, /* portA read */ - DEVCB_NULL, - DEVCB_DRIVER_MEMBER(taitof2_state,cameltrya_porta_w), /* portA write - not implemented */ - DEVCB_NULL, /* portB write */ -}; - - /*********************************************************** MACHINE DRIVERS ***********************************************************/ @@ -2875,6 +2864,7 @@ static MACHINE_CONFIG_START( taito_f2, taitof2_state ) MCFG_SOUND_ADD("ymsnd", YM2610, 24000000/3) /* Was 16000000/2, but only a 24Mhz OSC */ MCFG_YM2610_IRQ_HANDLER(WRITELINE(taitof2_state, irqhandler)) + MCFG_AY8910_OUTPUT_TYPE(AY8910_LEGACY_OUTPUT | AY8910_SINGLE_OUTPUT) MCFG_SOUND_ROUTE(0, "lspeaker", 0.25) MCFG_SOUND_ROUTE(0, "rspeaker", 0.25) MCFG_SOUND_ROUTE(1, "lspeaker", 1.0) @@ -3709,7 +3699,7 @@ static MACHINE_CONFIG_START( cameltrya, taitof2_state ) MCFG_SOUND_ADD("ymsnd", YM2203, 24000000/8) /* verified on pcb */ MCFG_YM2203_IRQ_HANDLER(WRITELINE(taitof2_state, irqhandler)) - MCFG_YM2203_AY8910_INTF(&ay8910_config) + MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(taitof2_state, cameltrya_porta_w)) /* portA write - not implemented */ MCFG_SOUND_ROUTE(0, "mono", 0.20) MCFG_SOUND_ROUTE(1, "mono", 0.20) MCFG_SOUND_ROUTE(2, "mono", 0.20) |