diff options
Diffstat (limited to 'src/mame/drivers/thedeep.c')
-rw-r--r-- | src/mame/drivers/thedeep.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/thedeep.c b/src/mame/drivers/thedeep.c index 9402f4b7ea0..fdbe2b02a92 100644 --- a/src/mame/drivers/thedeep.c +++ b/src/mame/drivers/thedeep.c @@ -46,7 +46,7 @@ WRITE8_MEMBER(thedeep_state::thedeep_nmi_w) WRITE8_MEMBER(thedeep_state::thedeep_sound_w) { soundlatch_byte_w(space, 0, data); - cputag_set_input_line(machine(), "audiocpu", INPUT_LINE_NMI, PULSE_LINE); + machine().device("audiocpu")->execute().set_input_line(INPUT_LINE_NMI, PULSE_LINE); } @@ -394,7 +394,7 @@ GFXDECODE_END 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 ym2203_interface thedeep_ym2203_intf = |