summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/m5.cpp
diff options
context:
space:
mode:
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
commitf9676d8f1d40d31513bee602fb531443093bd2c3 (patch)
tree73a681b61e88bc566fcdf04353deb7e053b3eb1c /src/mame/drivers/m5.cpp
parentef3fa1f0df917b58c16bf01533429ff8c67cc7f6 (diff)
z80ctc: removed MCFG macros (nw)
Diffstat (limited to 'src/mame/drivers/m5.cpp')
-rw-r--r--src/mame/drivers/m5.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/m5.cpp b/src/mame/drivers/m5.cpp
index add6b9017af..2ca3d4818f0 100644
--- a/src/mame/drivers/m5.cpp
+++ b/src/mame/drivers/m5.cpp
@@ -1421,8 +1421,8 @@ MACHINE_CONFIG_START(m5_state::m5)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 1.00)
// devices
- MCFG_DEVICE_ADD(Z80CTC_TAG, Z80CTC, 14.318181_MHz_XTAL / 4)
- MCFG_Z80CTC_INTR_CB(INPUTLINE(Z80_TAG, INPUT_LINE_IRQ0))
+ Z80CTC(config, m_ctc, 14.318181_MHz_XTAL / 4);
+ m_ctc->intr_callback().set_inputline(m_maincpu, INPUT_LINE_IRQ0);
// CK0 = EXINT, CK1 = GND, CK2 = TCK, CK3 = VDP INT
// ZC2 = EXCLK