summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/raiden.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/raiden.c')
-rw-r--r--src/mame/drivers/raiden.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/raiden.c b/src/mame/drivers/raiden.c
index f1a1593cefb..71f0115519b 100644
--- a/src/mame/drivers/raiden.c
+++ b/src/mame/drivers/raiden.c
@@ -239,7 +239,7 @@ GFXDECODE_END
static INTERRUPT_GEN( raiden_interrupt )
{
- device_set_input_line_and_vector(device, 0, HOLD_LINE, 0xc8/4); /* VBL */
+ device->execute().set_input_line_and_vector(0, HOLD_LINE, 0xc8/4); /* VBL */
}
static MACHINE_CONFIG_START( raiden, raiden_state )
@@ -560,11 +560,11 @@ READ16_MEMBER(raiden_state::sub_cpu_spin_r)
// main set
if (pc==0xfcde6 && ret!=0x40)
- device_spin(&space.device());
+ space.device().execute().spin();
// alt sets
if (pc==0xfcde8 && ret!=0x40)
- device_spin(&space.device());
+ space.device().execute().spin();
return ret;
}