summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/mod8.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/mod8.cpp')
-rw-r--r--src/mame/drivers/mod8.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/mod8.cpp b/src/mame/drivers/mod8.cpp
index d2320f6961c..5d4f7589d61 100644
--- a/src/mame/drivers/mod8.cpp
+++ b/src/mame/drivers/mod8.cpp
@@ -154,8 +154,8 @@ MACHINE_CONFIG_START(mod8_state::mod8)
MCFG_DEVICE_IRQ_ACKNOWLEDGE_DRIVER(mod8_state,mod8_irq_callback)
/* video hardware */
- MCFG_DEVICE_ADD(TELEPRINTER_TAG, TELEPRINTER, 0)
- MCFG_GENERIC_TELEPRINTER_KEYBOARD_CB(PUT(mod8_state, kbd_put))
+ TELEPRINTER(config, m_teleprinter, 0);
+ m_teleprinter->set_keyboard_callback(FUNC(mod8_state::kbd_put));
MACHINE_CONFIG_END