summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/twincobr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/twincobr.c')
-rw-r--r--src/mame/drivers/twincobr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/twincobr.c b/src/mame/drivers/twincobr.c
index 112224a082a..d72cf3616c2 100644
--- a/src/mame/drivers/twincobr.c
+++ b/src/mame/drivers/twincobr.c
@@ -549,7 +549,7 @@ GFXDECODE_END
/* handler called by the 3812 emulator when the internal timers cause an IRQ */
static void irqhandler(device_t *device, int linestate)
{
- cputag_set_input_line(device->machine(), "audiocpu", 0, linestate);
+ device->machine().device("audiocpu")->execute().set_input_line(0, linestate);
}
static const ym3812_interface ym3812_config =