summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/shisen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/shisen.cpp')
-rw-r--r--src/mame/drivers/shisen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/shisen.cpp b/src/mame/drivers/shisen.cpp
index a82603f174c..c8654f930e5 100644
--- a/src/mame/drivers/shisen.cpp
+++ b/src/mame/drivers/shisen.cpp
@@ -244,9 +244,9 @@ MACHINE_CONFIG_START(shisen_state::shisen)
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
- MCFG_GENERIC_LATCH_8_ADD("soundlatch")
- MCFG_GENERIC_LATCH_DATA_PENDING_CB(WRITELINE("soundirq", rst_neg_buffer_device, rst18_w))
- MCFG_GENERIC_LATCH_SEPARATE_ACKNOWLEDGE(true)
+ generic_latch_8_device &soundlatch(GENERIC_LATCH_8(config, "soundlatch"));
+ soundlatch.data_pending_callback().set("soundirq", FUNC(rst_neg_buffer_device::rst18_w));
+ soundlatch.set_separate_acknowledge(true);
RST_NEG_BUFFER(config, "soundirq", 0).int_callback().set_inputline("soundcpu", 0);