summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/sothello.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/sothello.c')
-rw-r--r--src/mame/drivers/sothello.c13
1 files changed, 2 insertions, 11 deletions
diff --git a/src/mame/drivers/sothello.c b/src/mame/drivers/sothello.c
index 93fc6f31490..ddffd7fa874 100644
--- a/src/mame/drivers/sothello.c
+++ b/src/mame/drivers/sothello.c
@@ -344,16 +344,6 @@ void sothello_state::machine_reset()
{
}
-static const ay8910_interface ay8910_config =
-{
- AY8910_LEGACY_OUTPUT,
- AY8910_DEFAULT_LOADS,
- DEVCB_INPUT_PORT("DSWA"),
- DEVCB_INPUT_PORT("DSWB"),
- DEVCB_NULL,
- DEVCB_NULL,
-};
-
static MACHINE_CONFIG_START( sothello, sothello_state )
/* basic machine hardware */
@@ -387,7 +377,8 @@ static MACHINE_CONFIG_START( sothello, sothello_state )
MCFG_SPEAKER_STANDARD_MONO("mono")
MCFG_SOUND_ADD("ymsnd", YM2203, YM_CLOCK)
MCFG_YM2203_IRQ_HANDLER(WRITELINE(sothello_state, irqhandler))
- MCFG_YM2203_AY8910_INTF(&ay8910_config)
+ MCFG_AY8910_PORT_A_READ_CB(IOPORT("DSWA"))
+ MCFG_AY8910_PORT_B_READ_CB(IOPORT("DSWB"))
MCFG_SOUND_ROUTE(0, "mono", 0.25)
MCFG_SOUND_ROUTE(1, "mono", 0.25)
MCFG_SOUND_ROUTE(2, "mono", 0.25)