summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/docastle.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/docastle.c')
-rw-r--r--src/mame/machine/docastle.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/machine/docastle.c b/src/mame/machine/docastle.c
index 13843224b81..d09f0d6d1e5 100644
--- a/src/mame/machine/docastle.c
+++ b/src/mame/machine/docastle.c
@@ -68,7 +68,7 @@ WRITE8_MEMBER(docastle_state::docastle_shared1_w)
data, (UINT32)m_maincpu->total_cycles());
/* freeze execution of the master CPU until the slave has used the shared memory */
- device_spin_until_trigger(&space.device(), 500);
+ space.device().execute().spin_until_trigger(500);
}
}
@@ -76,5 +76,5 @@ WRITE8_MEMBER(docastle_state::docastle_shared1_w)
WRITE8_MEMBER(docastle_state::docastle_nmitrigger_w)
{
- device_set_input_line(m_slave, INPUT_LINE_NMI, PULSE_LINE);
+ m_slave->set_input_line(INPUT_LINE_NMI, PULSE_LINE);
}