Corrected faulted selector on not present fault when JMPing to call gate pointing to not-present selector. Fixes OS/2 2.0 with some video drivers. Patch from Battler.

This commit is contained in:
TomW 2016-03-24 20:21:56 +00:00
commit c06d8913ce

View file

@ -697,7 +697,7 @@ void loadcsjmp(uint16_t seg, uint32_t oxpc)
}
if (!(segdat[2]&0x8000))
{
x86np("Load CS JMP from call gate not present\n", seg & 0xfffc);
x86np("Load CS JMP from call gate not present\n", seg2 & 0xfffc);
return;
}