summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/battlera.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/battlera.c')
-rw-r--r--src/mame/drivers/battlera.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/battlera.c b/src/mame/drivers/battlera.c
index e817c3ad038..59de81e8bfd 100644
--- a/src/mame/drivers/battlera.c
+++ b/src/mame/drivers/battlera.c
@@ -36,7 +36,7 @@ WRITE8_MEMBER(battlera_state::battlera_sound_w)
if (offset == 0)
{
soundlatch_byte_w(space,0,data);
- cputag_set_input_line(machine(), "audiocpu", 0, HOLD_LINE);
+ machine().device("audiocpu")->execute().set_input_line(0, HOLD_LINE);
}
}
@@ -92,7 +92,7 @@ static void battlera_adpcm_int(device_t *device)
state->m_toggle = 1 - state->m_toggle;
if (state->m_toggle)
- cputag_set_input_line(device->machine(), "audiocpu", 1, HOLD_LINE);
+ device->machine().device("audiocpu")->execute().set_input_line(1, HOLD_LINE);
}
WRITE8_MEMBER(battlera_state::battlera_adpcm_data_w)