Reduced number of segment/selector checks in recompiler - minor speedup.

This commit is contained in:
TomW 2015-07-08 20:40:37 +01:00
commit 51489d031c
4 changed files with 33 additions and 0 deletions

View file

@ -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
}
}