summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/pbaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/pbaction.c')
-rw-r--r--src/mame/drivers/pbaction.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/pbaction.c b/src/mame/drivers/pbaction.c
index c3b51b834ee..944e5a7298f 100644
--- a/src/mame/drivers/pbaction.c
+++ b/src/mame/drivers/pbaction.c
@@ -472,7 +472,7 @@ READ8_MEMBER(pbaction_state::pbactio3_prot_kludge_r)
{
/* on startup, the game expect this location to NOT act as RAM */
- if (cpu_get_pc(&space.device()) == 0xab80)
+ if (space.device().safe_pc() == 0xab80)
return 0;
return m_work_ram[0];