diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2018-09-03 19:32:28 +0200 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2018-09-03 19:32:28 +0200 |
commit | f9676d8f1d40d31513bee602fb531443093bd2c3 (patch) | |
tree | 73a681b61e88bc566fcdf04353deb7e053b3eb1c /src/mame/drivers/astrocde.cpp | |
parent | ef3fa1f0df917b58c16bf01533429ff8c67cc7f6 (diff) |
z80ctc: removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/astrocde.cpp')
-rw-r--r-- | src/mame/drivers/astrocde.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/astrocde.cpp b/src/mame/drivers/astrocde.cpp index a6b0e3f0630..ecae79593b5 100644 --- a/src/mame/drivers/astrocde.cpp +++ b/src/mame/drivers/astrocde.cpp @@ -1517,8 +1517,8 @@ MACHINE_CONFIG_START(tenpindx_state::tenpindx) m_subcpu->set_addrmap(AS_PROGRAM, &tenpindx_state::sub_map); m_subcpu->set_addrmap(AS_IO, &tenpindx_state::sub_io_map); - MCFG_DEVICE_ADD("ctc", Z80CTC, ASTROCADE_CLOCK/4 /* same as "sub" */) - MCFG_Z80CTC_INTR_CB(INPUTLINE("sub", INPUT_LINE_IRQ0)) + z80ctc_device& ctc(Z80CTC(config, "ctc", ASTROCADE_CLOCK/4 /* same as "sub" */)); + ctc.intr_callback().set_inputline(m_subcpu, INPUT_LINE_IRQ0); /* sound hardware */ SPEAKER(config, "mono").front_center(); |