diff options
Diffstat (limited to 'src/mame/drivers/taotaido.c')
-rw-r--r-- | src/mame/drivers/taotaido.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/taotaido.c b/src/mame/drivers/taotaido.c index 1ec8240699b..a8f3c8fbb55 100644 --- a/src/mame/drivers/taotaido.c +++ b/src/mame/drivers/taotaido.c @@ -84,7 +84,7 @@ WRITE16_MEMBER(taotaido_state::sound_command_w) { m_pending_command = 1; soundlatch_byte_w(space, offset, 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); } } static ADDRESS_MAP_START( main_map, AS_PROGRAM, 16, taotaido_state ) @@ -321,7 +321,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 ym2610_interface ym2610_config = |