summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/suprloco.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/suprloco.c')
-rw-r--r--src/mame/drivers/suprloco.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/suprloco.c b/src/mame/drivers/suprloco.c
index 331fc1d49bb..512553978e0 100644
--- a/src/mame/drivers/suprloco.c
+++ b/src/mame/drivers/suprloco.c
@@ -20,7 +20,7 @@ TODO:
WRITE8_MEMBER(suprloco_state::suprloco_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);
/* spin for a while to let the Z80 read the command (fixes hanging sound in Regulus) */
device_spin_until_time(&space.device(), attotime::from_usec(50));
}