mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[FAST486]
Complete the previous commit with a fix for Fast486WriteLinearMemory too. svn path=/branches/ntvdm/; revision=61105
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user