diff options
Diffstat (limited to 'src/devices/machine/myb3k_kbd.cpp')
-rw-r--r-- | src/devices/machine/myb3k_kbd.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/devices/machine/myb3k_kbd.cpp b/src/devices/machine/myb3k_kbd.cpp index b1a1c626cd7..9b4519cccb1 100644 --- a/src/devices/machine/myb3k_kbd.cpp +++ b/src/devices/machine/myb3k_kbd.cpp @@ -336,7 +336,7 @@ myb3k_keyboard_device::myb3k_keyboard_device( device_t *owner, u32 clock) : device_t(mconfig, type, tag, owner, clock) - , m_keyboard_cb() + , m_keyboard_cb(*this) , m_io_kbd_t(*this, "MYB3K_T%X", 0U) { } @@ -353,8 +353,7 @@ ioport_constructor myb3k_keyboard_device::device_input_ports() const void myb3k_keyboard_device::device_start() { - m_keyboard_cb.bind_relative_to(*owner()); - device_reset(); + m_keyboard_cb.resolve(); } void myb3k_keyboard_device::device_reset() |