mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 12:40:33 +00:00
[FAST486]
Complete the previous commit with a fix for Fast486WriteLinearMemory too. svn path=/branches/ntvdm/; revision=61105
This commit is contained in:
parent
f45361126f
commit
556bace69f
1 changed files with 1 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue