summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/acommand.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/acommand.c')
-rw-r--r--src/mame/drivers/acommand.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/acommand.c b/src/mame/drivers/acommand.c
index 595577ab3f6..5b74eff646e 100644
--- a/src/mame/drivers/acommand.c
+++ b/src/mame/drivers/acommand.c
@@ -305,7 +305,7 @@ WRITE16_MEMBER(acommand_state::ac_txscroll_w)
READ16_MEMBER(acommand_state::ac_devices_r)
{
- logerror("(PC=%06x) read at %04x\n",cpu_get_pc(&space.device()),offset*2);
+ logerror("(PC=%06x) read at %04x\n",space.device().safe_pc(),offset*2);
switch(offset)
{