summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/esd16.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/esd16.c')
-rw-r--r--src/mame/drivers/esd16.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/esd16.c b/src/mame/drivers/esd16.c
index 0c5a1dcfa77..8d96ab90a1a 100644
--- a/src/mame/drivers/esd16.c
+++ b/src/mame/drivers/esd16.c
@@ -86,8 +86,8 @@ WRITE16_MEMBER(esd16_state::esd16_sound_command_w)
if (ACCESSING_BITS_0_7)
{
soundlatch_byte_w(space, 0, data & 0xff);
- device_set_input_line(m_audio_cpu, 0, ASSERT_LINE); // Generate an IRQ
- device_spin_until_time(&space.device(), attotime::from_usec(50)); // Allow the other CPU to reply
+ m_audio_cpu->execute().set_input_line(0, ASSERT_LINE); // Generate an IRQ
+ space.device().execute().spin_until_time(attotime::from_usec(50)); // Allow the other CPU to reply
}
}
@@ -254,7 +254,7 @@ READ8_MEMBER(esd16_state::esd16_sound_command_r)
{
/* Clear IRQ only after reading the command, or some get lost */
- device_set_input_line(m_audio_cpu, 0, CLEAR_LINE);
+ m_audio_cpu->execute().set_input_line(0, CLEAR_LINE);
return soundlatch_byte_r(space, 0);
}