Author: aandrejevic Date: Tue Nov 26 17:56:18 2013 New Revision: 61105
URL: http://svn.reactos.org/svn/reactos?rev=61105&view=rev Log: [FAST486] Complete the previous commit with a fix for Fast486WriteLinearMemory too.
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] Tue Nov 26 17:56:18 2013 @@ -224,7 +224,7 @@ if (Page == PAGE_ALIGN(LinearAddress + Size - 1)) { /* Copy only a part of the page */ - PageLength = PAGE_OFFSET(LinearAddress + Size); + PageLength = PAGE_OFFSET(LinearAddress + Size) - PageOffset; }
/* Write the memory */