summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/bbusters.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/bbusters.c')
-rw-r--r--src/mame/drivers/bbusters.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/bbusters.c b/src/mame/drivers/bbusters.c
index 2a1cbca70f9..d5b59ce0d66 100644
--- a/src/mame/drivers/bbusters.c
+++ b/src/mame/drivers/bbusters.c
@@ -254,7 +254,7 @@ WRITE16_MEMBER(bbusters_state::sound_cpu_w)
if (ACCESSING_BITS_0_7)
{
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);
}
}
@@ -639,7 +639,7 @@ GFXDECODE_END
static void sound_irq( 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 =