diff options
Diffstat (limited to 'src/mame/drivers/mayumi.c')
-rw-r--r-- | src/mame/drivers/mayumi.c | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/mame/drivers/mayumi.c b/src/mame/drivers/mayumi.c index 889f38526b5..f93b10a6a79 100644 --- a/src/mame/drivers/mayumi.c +++ b/src/mame/drivers/mayumi.c @@ -343,22 +343,6 @@ GFXDECODE_END /************************************* * - * Sound interfaces - * - *************************************/ - -static const ay8910_interface ay8910_config = -{ - AY8910_LEGACY_OUTPUT, - AY8910_DEFAULT_LOADS, - DEVCB_INPUT_PORT("DSW1"), - DEVCB_INPUT_PORT("DSW2"), - DEVCB_NULL, - DEVCB_NULL -}; - -/************************************* - * * Machine driver * *************************************/ @@ -409,7 +393,8 @@ static MACHINE_CONFIG_START( mayumi, mayumi_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("DSW1")) + MCFG_AY8910_PORT_B_READ_CB(IOPORT("DSW2")) MCFG_SOUND_ROUTE(0, "mono", 0.15) MCFG_SOUND_ROUTE(1, "mono", 0.15) MCFG_SOUND_ROUTE(2, "mono", 0.15) |