diff options
Diffstat (limited to 'src/mame/video/cischeat.c')
-rw-r--r-- | src/mame/video/cischeat.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/video/cischeat.c b/src/mame/video/cischeat.c index 4d67260697d..5b70c2524a2 100644 --- a/src/mame/video/cischeat.c +++ b/src/mame/video/cischeat.c @@ -60,13 +60,13 @@ Note: if MAME_DEBUG is defined, pressing Z or X with: #define SHOW_READ_ERROR(_format_,_offset_)\ {\ popmessage(_format_,_offset_);\ - logerror("CPU #0 PC %06X : Warning, ",cpu_get_pc(&space.device())); \ + logerror("CPU #0 PC %06X : Warning, ",space.device().safe_pc()); \ logerror(_format_ "\n",_offset_);\ } #define SHOW_WRITE_ERROR(_format_,_offset_,_data_)\ {\ popmessage(_format_,_offset_,_data_);\ - logerror("CPU #0 PC %06X : Warning, ",cpu_get_pc(&space.device())); \ + logerror("CPU #0 PC %06X : Warning, ",space.device().safe_pc()); \ logerror(_format_ "\n",_offset_,_data_); \ } @@ -74,12 +74,12 @@ Note: if MAME_DEBUG is defined, pressing Z or X with: #define SHOW_READ_ERROR(_format_,_offset_)\ {\ - logerror("CPU #0 PC %06X : Warning, ",cpu_get_pc(&space.device())); \ + logerror("CPU #0 PC %06X : Warning, ",space.device().safe_pc()); \ logerror(_format_ "\n",_offset_);\ } #define SHOW_WRITE_ERROR(_format_,_offset_,_data_)\ {\ - logerror("CPU #0 PC %06X : Warning, ",cpu_get_pc(&space.device())); \ + logerror("CPU #0 PC %06X : Warning, ",space.device().safe_pc()); \ logerror(_format_ "\n",_offset_,_data_); \ } |