diff options
Diffstat (limited to 'src/mame/drivers/quizdna.c')
-rw-r--r-- | src/mame/drivers/quizdna.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mame/drivers/quizdna.c b/src/mame/drivers/quizdna.c index 9dacfaf2ddf..b7273faeb1d 100644 --- a/src/mame/drivers/quizdna.c +++ b/src/mame/drivers/quizdna.c @@ -427,17 +427,6 @@ static GFXDECODE_START( quizdna ) GFXDECODE_END -static const ay8910_interface ay8910_config = -{ - AY8910_LEGACY_OUTPUT, - AY8910_DEFAULT_LOADS, - DEVCB_INPUT_PORT("DSW3"), - DEVCB_INPUT_PORT("DSW2"), - DEVCB_NULL, - DEVCB_NULL -}; - - static MACHINE_CONFIG_START( quizdna, quizdna_state ) /* basic machine hardware */ @@ -463,7 +452,8 @@ static MACHINE_CONFIG_START( quizdna, quizdna_state ) MCFG_SPEAKER_STANDARD_MONO("mono") MCFG_SOUND_ADD("ymsnd", YM2203, MCLK/4) - MCFG_YM2203_AY8910_INTF(&ay8910_config) + MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSW3")) + MCFG_AY8910_PORT_B_READ_CB(IOPORT("DSW2")) MCFG_SOUND_ROUTE(0, "mono", 0.10) MCFG_SOUND_ROUTE(1, "mono", 0.10) MCFG_SOUND_ROUTE(2, "mono", 0.10) |