[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
This commit is contained in:
Aleksandar Andrejevic 2013-11-01 00:30:26 +00:00
parent 39a527a21e
commit 1c12c6fe0d

View file

@ -430,7 +430,7 @@ Fast486GetIntVector(PFAST486_STATE State,
} }
else else
{ {
RtlMoveMemory(IdtEntry, RtlMoveMemory(&FarPointer,
(PVOID)(State->Idtr.Address (PVOID)(State->Idtr.Address
+ Number * sizeof(FarPointer)), + Number * sizeof(FarPointer)),
sizeof(FarPointer)); sizeof(FarPointer));