diff options
Diffstat (limited to 'src/emu/cpu/nec/nec.h')
-rw-r--r-- | src/emu/cpu/nec/nec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/nec/nec.h b/src/emu/cpu/nec/nec.h index 08d6ec03bb9..247593b4a92 100644 --- a/src/emu/cpu/nec/nec.h +++ b/src/emu/cpu/nec/nec.h @@ -303,7 +303,7 @@ typedef enum { AH,AL,CH,CL,DH,DL,BH,BL,SPH,SPL,BPH,BPL,IXH,IXL,IYH,IYL } BREGS; unsigned di = nec_state->regs.w[IY]; \ unsigned si = nec_state->regs.w[IX]; \ static const UINT8 table[3]={18,19,19}; \ - if (nec_state->seg_prefix) logerror("%06x: Warning: seg_prefix defined for add4s\n",cpu_get_pc(Machine->activecpu)); \ + if (nec_state->seg_prefix) logerror("%06x: Warning: seg_prefix defined for add4s\n",PC(nec_state)); \ nec_state->ZeroVal = nec_state->CarryVal = 0; \ for (i=0;i<count;i++) { \ nec_state->icount-=table[nec_state->chip_type/8]; \ @@ -328,7 +328,7 @@ typedef enum { AH,AL,CH,CL,DH,DL,BH,BL,SPH,SPL,BPH,BPL,IXH,IXL,IYH,IYL } BREGS; unsigned di = nec_state->regs.w[IY]; \ unsigned si = nec_state->regs.w[IX]; \ static const UINT8 table[3]={18,19,19}; \ - if (nec_state->seg_prefix) logerror("%06x: Warning: seg_prefix defined for sub4s\n",cpu_get_pc(Machine->activecpu)); \ + if (nec_state->seg_prefix) logerror("%06x: Warning: seg_prefix defined for sub4s\n",PC(nec_state)); \ nec_state->ZeroVal = nec_state->CarryVal = 0; \ for (i=0;i<count;i++) { \ nec_state->icount-=table[nec_state->chip_type/8]; \ @@ -358,7 +358,7 @@ typedef enum { AH,AL,CH,CL,DH,DL,BH,BL,SPH,SPL,BPH,BPL,IXH,IXL,IYH,IYL } BREGS; unsigned di = nec_state->regs.w[IY]; \ unsigned si = nec_state->regs.w[IX]; \ static const UINT8 table[3]={14,19,19}; \ - if (nec_state->seg_prefix) logerror("%06x: Warning: seg_prefix defined for cmp4s\n",cpu_get_pc(Machine->activecpu)); \ + if (nec_state->seg_prefix) logerror("%06x: Warning: seg_prefix defined for cmp4s\n",PC(nec_state)); \ nec_state->ZeroVal = nec_state->CarryVal = 0; \ for (i=0;i<count;i++) { \ nec_state->icount-=table[nec_state->chip_type/8]; \ |