summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/crgolf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/crgolf.c')
-rw-r--r--src/mame/drivers/crgolf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/crgolf.c b/src/mame/drivers/crgolf.c
index 86ccf0e815f..23928de5bfa 100644
--- a/src/mame/drivers/crgolf.c
+++ b/src/mame/drivers/crgolf.c
@@ -138,7 +138,7 @@ WRITE8_MEMBER(crgolf_state::switch_input_select_w)
WRITE8_MEMBER(crgolf_state::unknown_w)
{
- logerror("%04X:unknown_w = %02X\n", cpu_get_pc(&space.device()), data);
+ logerror("%04X:unknown_w = %02X\n", space.device().safe_pc(), data);
}