From 1c12c6fe0d85296b04bda4ccce8d6ebdacbdc981 Mon Sep 17 00:00:00 2001 From: Aleksandar Andrejevic Date: Fri, 1 Nov 2013 00:30:26 +0000 Subject: [PATCH] [FAST486] In real mode, the value in the IVT is a far pointer, not an IDT entry. Fix the case when MemReadCallback is NULL. svn path=/branches/ntvdm/; revision=60813 --- lib/fast486/common.inl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/fast486/common.inl b/lib/fast486/common.inl index 9eeb4dd6465..394542bae72 100644 --- a/lib/fast486/common.inl +++ b/lib/fast486/common.inl @@ -430,7 +430,7 @@ Fast486GetIntVector(PFAST486_STATE State, } else { - RtlMoveMemory(IdtEntry, + RtlMoveMemory(&FarPointer, (PVOID)(State->Idtr.Address + Number * sizeof(FarPointer)), sizeof(FarPointer));