summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/rc702.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/rc702.cpp')
-rw-r--r--src/mame/drivers/rc702.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/rc702.cpp b/src/mame/drivers/rc702.cpp
index bc85723694e..3c491de7d9d 100644
--- a/src/mame/drivers/rc702.cpp
+++ b/src/mame/drivers/rc702.cpp
@@ -370,9 +370,9 @@ MACHINE_CONFIG_START(rc702_state::rc702)
MCFG_DEVICE_ADD("keyboard", GENERIC_KEYBOARD, 0)
MCFG_GENERIC_KEYBOARD_CB(PUT(rc702_state, kbd_put))
- MCFG_DEVICE_ADD("7474", TTL7474, 0)
- MCFG_7474_COMP_OUTPUT_CB(WRITELINE(*this, rc702_state, q_w))
- MCFG_7474_COMP_OUTPUT_CB(WRITELINE(*this, rc702_state, qbar_w))
+ TTL7474(config, m_7474, 0);
+ m_7474->output_cb().set(FUNC(rc702_state::q_w));
+ m_7474->comp_output_cb().set(FUNC(rc702_state::qbar_w));
/* video hardware */
MCFG_SCREEN_ADD("screen", RASTER)