summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ladybug.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ladybug.c')
-rw-r--r--src/mame/drivers/ladybug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/ladybug.c b/src/mame/drivers/ladybug.c
index 8f5ed2c3dee..c52c5d62503 100644
--- a/src/mame/drivers/ladybug.c
+++ b/src/mame/drivers/ladybug.c
@@ -119,7 +119,7 @@ WRITE8_MEMBER(ladybug_state::sraider_misc_w)
m_sraider_0x38 = data&0x3f;
break;
default:
- mame_printf_debug("(%04X) write to %02X\n", cpu_get_pc(&space.device()), offset);
+ mame_printf_debug("(%04X) write to %02X\n", space.device().safe_pc(), offset);
break;
}
}