summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/jack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/jack.cpp')
-rw-r--r--src/mame/drivers/jack.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/jack.cpp b/src/mame/drivers/jack.cpp
index 69cb6553304..51aee2349fc 100644
--- a/src/mame/drivers/jack.cpp
+++ b/src/mame/drivers/jack.cpp
@@ -939,8 +939,8 @@ MACHINE_CONFIG_START(jack_state::jack)
/* sound hardware */
SPEAKER(config, "mono").front_center();
- MCFG_GENERIC_LATCH_8_ADD("soundlatch")
- MCFG_GENERIC_LATCH_DATA_PENDING_CB(ASSERTLINE("audiocpu", 0))
+ GENERIC_LATCH_8(config, m_soundlatch);
+ m_soundlatch->data_pending_callback().set_inputline(m_audiocpu, 0, ASSERT_LINE);
ay8910_device &aysnd(AY8910(config, "aysnd", XTAL(18'000'000)/12));
aysnd.port_a_read_callback().set(m_soundlatch, FUNC(generic_latch_8_device::read));