summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/vegaeo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/vegaeo.cpp')
-rw-r--r--src/mame/drivers/vegaeo.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/vegaeo.cpp b/src/mame/drivers/vegaeo.cpp
index 5de1155a080..08bf2bc82a2 100644
--- a/src/mame/drivers/vegaeo.cpp
+++ b/src/mame/drivers/vegaeo.cpp
@@ -199,9 +199,9 @@ MACHINE_CONFIG_START(vegaeo_state::vega)
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
- MCFG_GENERIC_LATCH_8_ADD("soundlatch")
- MCFG_GENERIC_LATCH_DATA_PENDING_CB(WRITELINE("qs1000", qs1000_device, set_irq))
- MCFG_GENERIC_LATCH_SEPARATE_ACKNOWLEDGE(true)
+ GENERIC_LATCH_8(config, m_soundlatch);
+ m_soundlatch->data_pending_callback().set("qs1000", FUNC(qs1000_device::set_irq));
+ m_soundlatch->set_separate_acknowledge(true);
MCFG_DEVICE_ADD("qs1000", QS1000, XTAL(24'000'000))
MCFG_QS1000_EXTERNAL_ROM(true)