Author: aandrejevic Date: Fri Nov 1 00:30:26 2013 New Revision: 60813
URL: http://svn.reactos.org/svn/reactos?rev=60813&view=rev Log: [FAST486] In real mode, the value in the IVT is a far pointer, not an IDT entry. Fix the case when MemReadCallback is NULL.
Modified: branches/ntvdm/lib/fast486/common.inl
Modified: branches/ntvdm/lib/fast486/common.inl URL: http://svn.reactos.org/svn/reactos/branches/ntvdm/lib/fast486/common.inl?rev... ============================================================================== --- branches/ntvdm/lib/fast486/common.inl [iso-8859-1] (original) +++ branches/ntvdm/lib/fast486/common.inl [iso-8859-1] Fri Nov 1 00:30:26 2013 @@ -430,7 +430,7 @@ } else { - RtlMoveMemory(IdtEntry, + RtlMoveMemory(&FarPointer, (PVOID)(State->Idtr.Address + Number * sizeof(FarPointer)), sizeof(FarPointer));