summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/cdicdic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/cdicdic.c')
-rw-r--r--src/mame/machine/cdicdic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/cdicdic.c b/src/mame/machine/cdicdic.c
index 3882131150b..c50c97b916c 100644
--- a/src/mame/machine/cdicdic.c
+++ b/src/mame/machine/cdicdic.c
@@ -40,7 +40,7 @@ INLINE void verboselog(running_machine &machine, int n_level, const char *s_fmt,
va_start( v, s_fmt );
vsprintf( buf, s_fmt, v );
va_end( v );
- logerror( "%08x: %s", cpu_get_pc(machine.device("maincpu")), buf );
+ logerror( "%08x: %s", machine.device("maincpu")->safe_pc(), buf );
}
}
#else