diff options
Diffstat (limited to 'src/mame/drivers/stadhero.c')
-rw-r--r-- | src/mame/drivers/stadhero.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/stadhero.c b/src/mame/drivers/stadhero.c index edb223d09fd..4df67d5da18 100644 --- a/src/mame/drivers/stadhero.c +++ b/src/mame/drivers/stadhero.c @@ -34,7 +34,7 @@ READ16_MEMBER(stadhero_state::stadhero_control_r) return ioport("DSW")->read(); } - logerror("CPU #0 PC %06x: warning - read unmapped memory address %06x\n",cpu_get_pc(&space.device()),0x30c000+offset); + logerror("CPU #0 PC %06x: warning - read unmapped memory address %06x\n",space.device().safe_pc(),0x30c000+offset); return ~0; } @@ -49,7 +49,7 @@ WRITE16_MEMBER(stadhero_state::stadhero_control_w) cputag_set_input_line(machine(), "audiocpu", INPUT_LINE_NMI, PULSE_LINE); break; default: - logerror("CPU #0 PC %06x: warning - write %02x to unmapped memory address %06x\n",cpu_get_pc(&space.device()),data,0x30c010+offset); + logerror("CPU #0 PC %06x: warning - write %02x to unmapped memory address %06x\n",space.device().safe_pc(),data,0x30c010+offset); break; } } |