summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/ay3600.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/ay3600.c')
-rw-r--r--src/mess/machine/ay3600.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/ay3600.c b/src/mess/machine/ay3600.c
index 39c9cea3159..eea95b5a785 100644
--- a/src/mess/machine/ay3600.c
+++ b/src/mess/machine/ay3600.c
@@ -435,14 +435,14 @@ static TIMER_CALLBACK(AY3600_poll)
{
state->m_reset_flag = 1;
/* using PULSE_LINE does not allow us to press and hold key */
- cputag_set_input_line(machine, "maincpu", INPUT_LINE_RESET, ASSERT_LINE);
+ machine.device("maincpu")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
}
return;
}
if (state->m_reset_flag)
{
state->m_reset_flag = 0;
- cputag_set_input_line(machine, "maincpu", INPUT_LINE_RESET, CLEAR_LINE);
+ machine.device("maincpu")->execute().set_input_line(INPUT_LINE_RESET, CLEAR_LINE);
machine.schedule_soft_reset();
}