summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gei.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/gei.c')
-rw-r--r--src/mame/drivers/gei.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/gei.c b/src/mame/drivers/gei.c
index 0f15d12109c..82a8449fe5d 100644
--- a/src/mame/drivers/gei.c
+++ b/src/mame/drivers/gei.c
@@ -260,7 +260,7 @@ WRITE8_MEMBER(gei_state::nmi_w)
READ8_MEMBER(gei_state::catchall)
{
- int pc = cpu_get_pc(&space.device());
+ int pc = space.device().safe_pc();
if (pc != 0x3c74 && pc != 0x0364 && pc != 0x036d) /* weed out spurious blit reads */
logerror("%04x: unmapped memory read from %04x\n",pc,offset);