No longer raise TS# when (CS & 0xFFF8) is zero and (CS & 0x0004) is not, fixes #4214.

This commit is contained in:
OBattler
2024-02-29 06:52:45 +01:00
parent 5af0ccd145
commit 71ecdc1b55

View File

@@ -2401,7 +2401,7 @@ taskswitch286(uint16_t seg, uint16_t *segdat, int is32)
ldt.base |= (readmemb(0, templ + 7) << 24);
}
if (!(new_cs & 0xfff8)) {
if (!(new_cs & 0xfff8) && !(new_cs & 0x0004)) {
x86ts(NULL, 0);
return;
}