summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/hh_sm510.cpp
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2020-04-02 03:04:03 +0100
committer smf- <smf-@users.noreply.github.com>2020-04-02 03:46:32 +0100
commit7ecd4264d72fc21929e13b23e25b0e12b224de31 (patch)
tree3fde95b2d77f474c2e0c9bdd63375344896d5b76 /src/mame/drivers/hh_sm510.cpp
parent6fbc30f433c5ade98cf013908ca1205d4a2493a3 (diff)
removed more dummy_space() calls (nw)
Diffstat (limited to 'src/mame/drivers/hh_sm510.cpp')
-rw-r--r--src/mame/drivers/hh_sm510.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/hh_sm510.cpp b/src/mame/drivers/hh_sm510.cpp
index bf6c16a0b26..6f00550dc14 100644
--- a/src/mame/drivers/hh_sm510.cpp
+++ b/src/mame/drivers/hh_sm510.cpp
@@ -279,7 +279,7 @@ u8 hh_sm510_state::read_inputs(int columns, int fixed)
void hh_sm510_state::update_k_line()
{
// this is necessary because the MCU can wake up on K input activity
- m_maincpu->set_input_line(SM510_INPUT_LINE_K, input_r(machine().dummy_space(), 0, 0xff) ? ASSERT_LINE : CLEAR_LINE);
+ m_maincpu->set_input_line(SM510_INPUT_LINE_K, input_r() ? ASSERT_LINE : CLEAR_LINE);
}
INPUT_CHANGED_MEMBER(hh_sm510_state::input_changed)
@@ -293,7 +293,7 @@ WRITE8_MEMBER(hh_sm510_state::input_w)
update_k_line();
}
-READ8_MEMBER(hh_sm510_state::input_r)
+uint8_t hh_sm510_state::input_r()
{
return read_inputs(m_inp_lines, m_inp_fixed);
}