From c06d8913ce58be375c94aa30b62fa7fbe7c8fdac Mon Sep 17 00:00:00 2001 From: TomW Date: Thu, 24 Mar 2016 20:21:56 +0000 Subject: [PATCH] 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. --- src/x86seg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/x86seg.c b/src/x86seg.c index 5b3ff70..2b2b5f7 100644 --- a/src/x86seg.c +++ b/src/x86seg.c @@ -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; }