summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/welltris.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/welltris.c')
-rw-r--r--src/mame/drivers/welltris.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/welltris.c b/src/mame/drivers/welltris.c
index a65f9606b06..d4e9620ffd6 100644
--- a/src/mame/drivers/welltris.c
+++ b/src/mame/drivers/welltris.c
@@ -335,7 +335,7 @@ WRITE16_MEMBER(welltris_state::sound_command_w)
m_pending_command = 1;
soundlatch_byte_w(space, 0, data & 0xff);
- cputag_set_input_line(machine(), "audiocpu", INPUT_LINE_NMI, PULSE_LINE);
+ machine().device("audiocpu")->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}
}
@@ -675,7 +675,7 @@ GFXDECODE_END
static void irqhandler(device_t *device, int irq)
{
- cputag_set_input_line(device->machine(), "audiocpu", 0, irq ? ASSERT_LINE : CLEAR_LINE);
+ device->machine().device("audiocpu")->execute().set_input_line(0, irq ? ASSERT_LINE : CLEAR_LINE);
}
static const ym2610_interface ym2610_config =