summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/timeplt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/timeplt.c')
-rw-r--r--src/mame/drivers/timeplt.c14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/mame/drivers/timeplt.c b/src/mame/drivers/timeplt.c
index f378a1c12a9..221a8cc00d2 100644
--- a/src/mame/drivers/timeplt.c
+++ b/src/mame/drivers/timeplt.c
@@ -105,16 +105,6 @@ WRITE8_MEMBER(timeplt_state::chkun_sound_w)
m_tc8830f->reset();
}
-static const ay8910_interface chkun_ay2_interface =
-{
- AY8910_LEGACY_OUTPUT,
- AY8910_DEFAULT_LOADS,
- DEVCB_NULL,
- DEVCB_NULL,
- DEVCB_DRIVER_MEMBER(timeplt_state,chkun_sound_w),
- DEVCB_NULL
-};
-
CUSTOM_INPUT_MEMBER(timeplt_state::chkun_hopper_status_r)
{
// temp workaround, needs hopper
@@ -510,8 +500,8 @@ static MACHINE_CONFIG_DERIVED( chkun, bikkuric )
/* sound hardware */
MCFG_SOUND_MODIFY("ay2")
- MCFG_SOUND_CONFIG(chkun_ay2_interface)
-
+ MCFG_AY8910_PORT_A_WRITE_CB(WRITE8(timeplt_state, chkun_sound_w))
+
MCFG_TC8830F_ADD("tc8830f", XTAL_512kHz)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.10)
MACHINE_CONFIG_END