diff options
Diffstat (limited to 'src/mame/drivers/mquake.c')
-rw-r--r-- | src/mame/drivers/mquake.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/mquake.c b/src/mame/drivers/mquake.c index e1fbea21d52..05615d68038 100644 --- a/src/mame/drivers/mquake.c +++ b/src/mame/drivers/mquake.c @@ -100,7 +100,7 @@ ADDRESS_MAP_END static WRITE16_HANDLER( output_w ) { if (ACCESSING_BITS_0_7) - logerror("%06x:output_w(%x) = %02x\n", cpu_get_pc(&space->device()), offset, data); + logerror("%06x:output_w(%x) = %02x\n", space->device().safe_pc(), offset, data); } @@ -108,13 +108,13 @@ static READ16_HANDLER( coin_chip_r ) { if (offset == 1) return space->machine().root_device().ioport("COINCHIP")->read(); - logerror("%06x:coin_chip_r(%02x) & %04x\n", cpu_get_pc(&space->device()), offset, mem_mask); + logerror("%06x:coin_chip_r(%02x) & %04x\n", space->device().safe_pc(), offset, mem_mask); return 0xffff; } static WRITE16_HANDLER( coin_chip_w ) { - logerror("%06x:coin_chip_w(%02x) = %04x & %04x\n", cpu_get_pc(&space->device()), offset, data, mem_mask); + logerror("%06x:coin_chip_w(%02x) = %04x & %04x\n", space->device().safe_pc(), offset, data, mem_mask); } // inputs at 282000, 282002 (full word) |