summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pasha2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pasha2.c')
-rw-r--r--src/mame/drivers/pasha2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/pasha2.c b/src/mame/drivers/pasha2.c
index 5cbcea658fc..20aa3af6b48 100644
--- a/src/mame/drivers/pasha2.c
+++ b/src/mame/drivers/pasha2.c
@@ -476,7 +476,7 @@ ROM_END
READ16_MEMBER(pasha2_state::pasha2_speedup_r)
{
- if(cpu_get_pc(&space.device()) == 0x8302)
+ if(space.device().safe_pc() == 0x8302)
device_spin_until_interrupt(&space.device());
return m_wram[(0x95744 / 2) + offset];