diff options
Diffstat (limited to 'src/mame/drivers/btime.cpp')
-rw-r--r-- | src/mame/drivers/btime.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/drivers/btime.cpp b/src/mame/drivers/btime.cpp index 8ae40ea3140..7624c4ba7e3 100644 --- a/src/mame/drivers/btime.cpp +++ b/src/mame/drivers/btime.cpp @@ -1308,8 +1308,8 @@ MACHINE_CONFIG_START(btime_state::btime) /* sound hardware */ SPEAKER(config, "mono").front_center(); - MCFG_GENERIC_LATCH_8_ADD("soundlatch") - MCFG_GENERIC_LATCH_DATA_PENDING_CB(INPUTLINE("audiocpu", 0)) + GENERIC_LATCH_8(config, m_soundlatch); + m_soundlatch->data_pending_callback().set_inputline(m_audiocpu, 0); ay8910_device &ay1(AY8910(config, "ay1", HCLK2)); ay1.set_flags(AY8910_DISCRETE_OUTPUT); @@ -1460,8 +1460,7 @@ MACHINE_CONFIG_START(btime_state::disco) MCFG_DEVICE_MODIFY("audiocpu") MCFG_DEVICE_PROGRAM_MAP(disco_audio_map) - MCFG_DEVICE_MODIFY("soundlatch") - MCFG_GENERIC_LATCH_SEPARATE_ACKNOWLEDGE(true) + m_soundlatch->set_separate_acknowledge(true); /* video hardware */ MCFG_GFXDECODE_MODIFY("gfxdecode", gfx_disco) |