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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/raiden.c b/src/mame/drivers/raiden.c
index d3adc97f878..f1a1593cefb 100644
--- a/src/mame/drivers/raiden.c
+++ b/src/mame/drivers/raiden.c
@@ -555,7 +555,7 @@ ROM_END
#ifdef SYNC_HACK
READ16_MEMBER(raiden_state::sub_cpu_spin_r)
{
- int pc=cpu_get_pc(&space.device());
+ int pc=space.device().safe_pc();
int ret=m_shared_ram[0x4];
// main set