summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/wc90.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/wc90.c')
-rw-r--r--src/mame/drivers/wc90.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/wc90.c b/src/mame/drivers/wc90.c
index 80a04cfd135..472b6d372eb 100644
--- a/src/mame/drivers/wc90.c
+++ b/src/mame/drivers/wc90.c
@@ -102,7 +102,7 @@ WRITE8_MEMBER(wc90_state::wc90_bankswitch1_w)
WRITE8_MEMBER(wc90_state::wc90_sound_command_w)
{
soundlatch_byte_w(space, offset, data);
- cputag_set_input_line(machine(), "audiocpu", INPUT_LINE_NMI, PULSE_LINE);
+ machine().device("audiocpu")->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}
@@ -292,7 +292,7 @@ GFXDECODE_END
/* handler called by the 2608 emulator when the internal timers cause an IRQ */
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 ym2608_interface ym2608_config =