[FAST486]

Complete the previous commit with a fix for Fast486WriteLinearMemory too.


svn path=/branches/ntvdm/; revision=61105
This commit is contained in:
Aleksandar Andrejevic 2013-11-26 17:56:18 +00:00
parent f45361126f
commit 556bace69f

View file

@ -224,7 +224,7 @@ Fast486WriteLinearMemory(PFAST486_STATE State,
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 */