diff options
Diffstat (limited to 'src/mame/drivers/mexico86.c')
-rw-r--r-- | src/mame/drivers/mexico86.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/src/mame/drivers/mexico86.c b/src/mame/drivers/mexico86.c index e56fd25d10c..9aa70347760 100644 --- a/src/mame/drivers/mexico86.c +++ b/src/mame/drivers/mexico86.c @@ -391,24 +391,6 @@ static GFXDECODE_START( mexico86 ) GFXDECODE_END - -/************************************* - * - * Sound interfaces - * - *************************************/ - -static const ay8910_interface ay8910_config = -{ - AY8910_LEGACY_OUTPUT, - AY8910_DEFAULT_LOADS, - DEVCB_INPUT_PORT("DSW0"), - DEVCB_INPUT_PORT("DSW1"), - DEVCB_NULL, - DEVCB_NULL -}; - - /************************************* * * Machine driver @@ -496,7 +478,8 @@ static MACHINE_CONFIG_START( mexico86, mexico86_state ) MCFG_SPEAKER_STANDARD_MONO("mono") MCFG_SOUND_ADD("ymsnd", YM2203, 3000000) - MCFG_YM2203_AY8910_INTF(&ay8910_config) + MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW0")) + MCFG_AY8910_PORT_B_READ_CB(IOPORT("DSW1")) MCFG_SOUND_ROUTE(0, "mono", 0.30) MCFG_SOUND_ROUTE(1, "mono", 0.30) MCFG_SOUND_ROUTE(2, "mono", 0.30) |