summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/segag80r.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/segag80r.c')
-rw-r--r--src/mame/drivers/segag80r.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/segag80r.c b/src/mame/drivers/segag80r.c
index 3015352fc18..632446bcdce 100644
--- a/src/mame/drivers/segag80r.c
+++ b/src/mame/drivers/segag80r.c
@@ -149,7 +149,7 @@ INPUT_CHANGED_MEMBER(segag80r_state::service_switch)
{
/* pressing the service switch sends an NMI */
if (newval)
- cputag_set_input_line(machine(), "maincpu", INPUT_LINE_NMI, PULSE_LINE);
+ machine().device("maincpu")->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}
@@ -286,7 +286,7 @@ WRITE8_MEMBER(segag80r_state::coin_count_w)
WRITE8_MEMBER(segag80r_state::sindbadm_soundport_w)
{
soundlatch_byte_w(space, 0, data);
- cputag_set_input_line(machine(), "audiocpu", INPUT_LINE_NMI, PULSE_LINE);
+ machine().device("audiocpu")->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
machine().scheduler().boost_interleave(attotime::zero, attotime::from_usec(50));
}