summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/llc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/llc.cpp')
-rw-r--r--src/mame/drivers/llc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/llc.cpp b/src/mame/drivers/llc.cpp
index f203f4eb088..99baf74c5cb 100644
--- a/src/mame/drivers/llc.cpp
+++ b/src/mame/drivers/llc.cpp
@@ -240,8 +240,8 @@ MACHINE_CONFIG_START(llc_state::llc1)
ctc.zc_callback<0>().set("z80ctc", FUNC(z80ctc_device::trg1));
ctc.zc_callback<1>().set("z80ctc", FUNC(z80ctc_device::trg3));
- MCFG_DEVICE_ADD("keyboard", GENERIC_KEYBOARD, 0)
- MCFG_GENERIC_KEYBOARD_CB(PUT(llc_state, kbd_put))
+ generic_keyboard_device &keyboard(GENERIC_KEYBOARD(config, "keyboard", 0));
+ keyboard.set_keyboard_callback(FUNC(llc_state::kbd_put));
MACHINE_CONFIG_END
MACHINE_CONFIG_START(llc_state::llc2)