avoid code invalidation on certain types of self modification and adjust cache sizes (dynamic core);
add partial memory function inlining for dynamic core memory access; remove a float div in the pic Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2769
This commit is contained in:
parent
6296e3fff4
commit
76f1d11252
6 changed files with 815 additions and 80 deletions
|
@ -40,6 +40,10 @@ INLINE float PIC_TickIndex(void) {
|
|||
return (CPU_CycleMax-CPU_CycleLeft-CPU_Cycles)/(float)CPU_CycleMax;
|
||||
}
|
||||
|
||||
INLINE Bits PIC_TickIndexND(void) {
|
||||
return CPU_CycleMax-CPU_CycleLeft-CPU_Cycles;
|
||||
}
|
||||
|
||||
INLINE Bits PIC_MakeCycles(double amount) {
|
||||
return (Bits)(CPU_CycleMax*amount);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue