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

@ -114,6 +114,9 @@ typedef struct
uint8_t access;
uint16_t seg;
uint32_t limit_low, limit_high;
#ifdef DYNAREC
int checked; /*Non-zero if selector is known to be valid*/
#endif
} x86seg;
x86seg gdt,ldt,idt,tr;