Cycle counts for recompiled blocks now generated at compile time.
This commit is contained in:
parent
087f412d3f
commit
2905c43db8
43 changed files with 1142 additions and 730 deletions
|
|
@ -3,7 +3,7 @@
|
|||
{ \
|
||||
setflags(reg, 1); \
|
||||
reg += inc; \
|
||||
cycles -= timing_rr; \
|
||||
CLOCK_CYCLES(timing_rr); \
|
||||
return 0; \
|
||||
}
|
||||
|
||||
|
|
@ -61,7 +61,7 @@ static int opINCDEC_b_a16(uint32_t fetchdat)
|
|||
seteab(temp + 1); if (abrt) return 1;
|
||||
setadd8nc(temp, 1);
|
||||
}
|
||||
cycles -= (mod == 3) ? timing_rr : timing_mm;
|
||||
CLOCK_CYCLES((mod == 3) ? timing_rr : timing_mm);
|
||||
return 0;
|
||||
}
|
||||
static int opINCDEC_b_a32(uint32_t fetchdat)
|
||||
|
|
@ -81,6 +81,6 @@ static int opINCDEC_b_a32(uint32_t fetchdat)
|
|||
seteab(temp + 1); if (abrt) return 1;
|
||||
setadd8nc(temp, 1);
|
||||
}
|
||||
cycles -= (mod == 3) ? timing_rr : timing_mm;
|
||||
CLOCK_CYCLES((mod == 3) ? timing_rr : timing_mm);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue