summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/xexex.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/xexex.cpp')
-rw-r--r--src/mame/drivers/xexex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/xexex.cpp b/src/mame/drivers/xexex.cpp
index 4757bfbaf6b..815578c6ef3 100644
--- a/src/mame/drivers/xexex.cpp
+++ b/src/mame/drivers/xexex.cpp
@@ -224,7 +224,7 @@ WRITE16_MEMBER(xexex_state::spriteram_mirror_w)
READ16_MEMBER(xexex_state::xexex_waitskip_r)
{
- if (space.device().safe_pc() == 0x1158)
+ if (m_maincpu->pc() == 0x1158)
{
space.device().execute().spin_until_trigger(m_resume_trigger);
m_suspension_active = 1;