summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/tatsumi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/tatsumi.c')
-rw-r--r--src/mame/drivers/tatsumi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/tatsumi.c b/src/mame/drivers/tatsumi.c
index 28c80b0f622..32a7cfe357a 100644
--- a/src/mame/drivers/tatsumi.c
+++ b/src/mame/drivers/tatsumi.c
@@ -200,7 +200,7 @@ READ16_MEMBER(tatsumi_state::cyclwarr_input2_r)
WRITE16_MEMBER(tatsumi_state::cyclwarr_sound_w)
{
soundlatch_byte_w(space, 0, data >> 8);
- cputag_set_input_line(machine(), "audiocpu", INPUT_LINE_NMI, PULSE_LINE);
+ machine().device("audiocpu")->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}
/***************************************************************************/
@@ -841,7 +841,7 @@ GFXDECODE_END
static void sound_irq(device_t *device, int state)
{
- cputag_set_input_line(device->machine(), "audiocpu", INPUT_LINE_IRQ0, state);
+ device->machine().device("audiocpu")->execute().set_input_line(INPUT_LINE_IRQ0, state);
}
static const ym2151_interface ym2151_config =
@@ -856,12 +856,12 @@ static INTERRUPT_GEN( roundup5_interrupt )
static void apache3_68000_reset(device_t *device)
{
- cputag_set_input_line(device->machine(), "sub2", INPUT_LINE_RESET, PULSE_LINE);
+ device->machine().device("sub2")->execute().set_input_line(INPUT_LINE_RESET, PULSE_LINE);
}
static MACHINE_RESET( apache3 )
{
- cputag_set_input_line(machine, "sub2", INPUT_LINE_RESET, ASSERT_LINE); // TODO
+ machine.device("sub2")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE); // TODO
/* Hook the RESET line, which resets the Z80 */
m68k_set_reset_callback(machine.device("sub"), apache3_68000_reset);