summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/fccpu30.cpp
diff options
context:
space:
mode:
author mooglyguy <therealmogminer@gmail.com>2018-08-25 14:52:08 +0200
committer mooglyguy <therealmogminer@gmail.com>2018-08-25 14:52:08 +0200
commit8170b926686e3f67adbdc25f95a68cdf3cdc5730 (patch)
tree448e66bf2691174bebebac9bbdeef13778977e70 /src/mame/drivers/fccpu30.cpp
parentbee81e496a944d8ca7b29f7b225a39a318d61dce (diff)
-fdc37c93x, fga002: Removed MCFG, nw
Diffstat (limited to 'src/mame/drivers/fccpu30.cpp')
-rw-r--r--src/mame/drivers/fccpu30.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/fccpu30.cpp b/src/mame/drivers/fccpu30.cpp
index 7d79c467849..506dc0e00e9 100644
--- a/src/mame/drivers/fccpu30.cpp
+++ b/src/mame/drivers/fccpu30.cpp
@@ -747,10 +747,10 @@ MACHINE_CONFIG_START(cpu30_state::cpu30)
// m_pit2->timer_irq_callback().set("fga002", FUNC(fga002_device::lirq3_w)); // The timer interrupt seems to silence the terminal interrupt, needs invectigation
/* FGA-002, Force Gate Array */
- MCFG_FGA002_ADD("fga002", 0)
- MCFG_FGA002_OUT_INT_CB(WRITELINE(*this, cpu30_state, fga_irq_callback))
- MCFG_FGA002_OUT_LIACK4_CB(READ8("duscc", duscc_device, iack))
- MCFG_FGA002_OUT_LIACK5_CB(READ8("duscc2", duscc_device, iack))
+ fga002_device &fga002(FGA002(config, m_fga002, 0));
+ fga002.out_int().set(FUNC(cpu30_state::fga_irq_callback));
+ fga002.liack4().set("duscc", FUNC(duscc_device::iack));
+ fga002.liack5().set("duscc2", FUNC(duscc_device::iack));
// RTC
MCFG_DEVICE_ADD("rtc", RTC72423, XTAL(32'768)) // Fake crystal value, the 72423 uses it own internal crystal