summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/mcd212.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/mcd212.c')
-rw-r--r--src/mame/video/mcd212.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/mcd212.c b/src/mame/video/mcd212.c
index 3e29b11d3ef..a3edcd49a0b 100644
--- a/src/mame/video/mcd212.c
+++ b/src/mame/video/mcd212.c
@@ -34,7 +34,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