summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/duet16.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2019-01-18 18:13:03 +0100
committer Ivan Vangelista <mesgnet@yahoo.it>2019-01-18 18:13:03 +0100
commit5f93bb243f9e0f2d449b1812c40831b664c401a4 (patch)
tree20a1c81e8d560d6734bf6627f5049e87f817ee90 /src/mame/drivers/duet16.cpp
parentadcf8c82a222922790ad889cdf8ea45d151159c6 (diff)
src/devices: a bit more MCFG macro removal (nw)
Diffstat (limited to 'src/mame/drivers/duet16.cpp')
-rw-r--r--src/mame/drivers/duet16.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/drivers/duet16.cpp b/src/mame/drivers/duet16.cpp
index eed4556f362..1bee25b35c7 100644
--- a/src/mame/drivers/duet16.cpp
+++ b/src/mame/drivers/duet16.cpp
@@ -401,11 +401,9 @@ MACHINE_CONFIG_START(duet16_state::duet16)
kbd.rxd_handler().set("kbusart", FUNC(i8251_device::write_rxd));
kbd.set_option_device_input_defaults("keyboard", DEVICE_INPUT_DEFAULTS_NAME(keyboard));
- MCFG_INPUT_MERGER_ANY_HIGH("kbint")
- MCFG_INPUT_MERGER_OUTPUT_HANDLER(WRITELINE("pic", pic8259_device, ir5_w)) // INT2
+ INPUT_MERGER_ANY_HIGH(config, "kbint").output_handler().set(m_pic, FUNC(pic8259_device::ir5_w)); // INT2
- MCFG_INPUT_MERGER_ANY_HIGH("tmint")
- MCFG_INPUT_MERGER_OUTPUT_HANDLER(WRITELINE("pic", pic8259_device, ir0_w)) // INT6
+ INPUT_MERGER_ANY_HIGH(config, m_tmint).output_handler().set(m_pic, FUNC(pic8259_device::ir0_w)); // INT6
UPD765A(config, m_fdc, 8_MHz_XTAL, true, false);
m_fdc->drq_wr_callback().set(m_dmac, FUNC(am9517a_device::dreq0_w));