summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/taito_x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/taito_x.c')
-rw-r--r--src/mame/drivers/taito_x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/taito_x.c b/src/mame/drivers/taito_x.c
index 0b62cf111df..463159a7af4 100644
--- a/src/mame/drivers/taito_x.c
+++ b/src/mame/drivers/taito_x.c
@@ -794,7 +794,7 @@ GFXDECODE_END
/* handler called by the YM2610 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 ym2610_interface ym2610_config =