summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/sgi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/sgi.c')
-rw-r--r--src/mess/machine/sgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/sgi.c b/src/mess/machine/sgi.c
index 711e003e90d..7c1d532e04e 100644
--- a/src/mess/machine/sgi.c
+++ b/src/mess/machine/sgi.c
@@ -20,7 +20,7 @@ INLINE void ATTR_PRINTF(3,4) verboselog( running_machine &machine, int n_level,
va_start( v, s_fmt );
vsprintf( buf, s_fmt, v );
va_end( v );
- logerror( "%08x: %s", (unsigned) cpu_get_pc(machine.device("maincpu")), buf );
+ logerror( "%08x: %s", (unsigned) machine.device("maincpu")->safe_pc(), buf );
}
}