diff options
Diffstat (limited to 'src/mame/drivers/supdrapo.c')
-rw-r--r-- | src/mame/drivers/supdrapo.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mame/drivers/supdrapo.c b/src/mame/drivers/supdrapo.c index a139f2045a3..2166afa9c9d 100644 --- a/src/mame/drivers/supdrapo.c +++ b/src/mame/drivers/supdrapo.c @@ -434,17 +434,6 @@ WRITE8_MEMBER(supdrapo_state::ay8910_outputb_w) } -static const ay8910_interface ay8910_config = -{ - AY8910_LEGACY_OUTPUT, - AY8910_DEFAULT_LOADS, - DEVCB_NULL, - DEVCB_NULL, - DEVCB_DRIVER_MEMBER(supdrapo_state,ay8910_outputa_w), - DEVCB_DRIVER_MEMBER(supdrapo_state,ay8910_outputb_w) -}; - - /********************************************************************* Machine Driver **********************************************************************/ @@ -474,7 +463,8 @@ static MACHINE_CONFIG_START( supdrapo, supdrapo_state ) MCFG_SPEAKER_STANDARD_MONO("mono") MCFG_SOUND_ADD("aysnd", AY8910, SND_CLOCK) /* guess */ - MCFG_SOUND_CONFIG(ay8910_config) + MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(supdrapo_state, ay8910_outputa_w)) + MCFG_AY8910_PORT_B_WRITE_CB(WRITE8(supdrapo_state, ay8910_outputb_w)) MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50) MACHINE_CONFIG_END |