summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/tec1.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/tec1.c')
-rw-r--r--src/mess/drivers/tec1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/drivers/tec1.c b/src/mess/drivers/tec1.c
index 06795d161a8..a3e5d4e1457 100644
--- a/src/mess/drivers/tec1.c
+++ b/src/mess/drivers/tec1.c
@@ -188,7 +188,7 @@ READ8_MEMBER( tec1_state::latch_r )
READ8_MEMBER( tec1_state::tec1_kbd_r )
{
- cputag_set_input_line(machine(), "maincpu", INPUT_LINE_NMI, CLEAR_LINE);
+ machine().device("maincpu")->execute().set_input_line(INPUT_LINE_NMI, CLEAR_LINE);
return m_kbd | ioport("SHIFT")->read();
}
@@ -250,7 +250,7 @@ static TIMER_CALLBACK( tec1_kbd_callback )
if (machine.root_device().ioport(keynames[state->m_kbd_row])->read())
{
state->m_kbd = state->tec1_convert_col_to_bin(machine.root_device().ioport(keynames[state->m_kbd_row])->read(), state->m_kbd_row);
- cputag_set_input_line(machine, "maincpu", INPUT_LINE_NMI, HOLD_LINE);
+ machine.device("maincpu")->execute().set_input_line(INPUT_LINE_NMI, HOLD_LINE);
state->m_key_pressed = TRUE;
}
else