diff options
Diffstat (limited to 'src/devices/machine/8042kbdc.cpp')
-rw-r--r-- | src/devices/machine/8042kbdc.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/machine/8042kbdc.cpp b/src/devices/machine/8042kbdc.cpp index 7984b1d0294..2f1ca94f865 100644 --- a/src/devices/machine/8042kbdc.cpp +++ b/src/devices/machine/8042kbdc.cpp @@ -134,7 +134,7 @@ void kbdc8042_device::at_8042_check_keyboard() { if (!m_keyboard.received && !m_mouse.received) { - int data = m_keyboard_dev->read(machine().dummy_space(), 0); + int data = m_keyboard_dev->read(); if (data) at_8042_receive(data); } @@ -234,7 +234,7 @@ void kbdc8042_device::device_timer(emu_timer &timer, device_timer_id id, int par * 0: Keyboard data in */ -READ8_MEMBER(kbdc8042_device::data_r) +uint8_t kbdc8042_device::data_r(offs_t offset) { uint8_t data = 0; @@ -310,7 +310,7 @@ READ8_MEMBER(kbdc8042_device::data_r) -WRITE8_MEMBER(kbdc8042_device::data_w) +void kbdc8042_device::data_w(offs_t offset, uint8_t data) { switch (offset) { case 0: @@ -320,7 +320,7 @@ WRITE8_MEMBER(kbdc8042_device::data_w) case 0: m_data = data; m_sending=1; - m_keyboard_dev->write(space, 0, data); + m_keyboard_dev->write(data); break; case 1: |