Reduced number of segment/selector checks in recompiler - minor speedup.
This commit is contained in:
parent
80555e9d2a
commit
51489d031c
4 changed files with 33 additions and 0 deletions
|
|
@ -395,6 +395,9 @@ void loadseg(uint16_t seg, x86seg *s)
|
|||
#endif
|
||||
#ifndef CS_ACCESSED
|
||||
}
|
||||
#endif
|
||||
#ifdef DYNAREC
|
||||
s->checked = 0;
|
||||
#endif
|
||||
}
|
||||
else
|
||||
|
|
@ -404,6 +407,9 @@ void loadseg(uint16_t seg, x86seg *s)
|
|||
s->seg = seg;
|
||||
if (s == &_ss)
|
||||
stack32 = 0;
|
||||
#ifdef DYNAREC
|
||||
s->checked = 1;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue