summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gladiatr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gladiatr.c')
-rw-r--r--src/mame/drivers/gladiatr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/gladiatr.c b/src/mame/drivers/gladiatr.c
index 7bad1e29383..04eca081df1 100644
--- a/src/mame/drivers/gladiatr.c
+++ b/src/mame/drivers/gladiatr.c
@@ -995,7 +995,7 @@ DRIVER_INIT_MEMBER(gladiatr_state,gladiatr)
READ8_MEMBER(gladiatr_state::f6a3_r)
{
- if(cpu_get_previouspc(&space.device())==0x8e)
+ if(space.device().safe_pcbase()==0x8e)
m_nvram[0x6a3]=1;
return m_nvram[0x6a3];