mirror of
https://github.com/reactos/reactos.git
synced 2025-08-02 21:56:06 +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))
|
if (Page == PAGE_ALIGN(LinearAddress + Size - 1))
|
||||||
{
|
{
|
||||||
/* Copy only a part of the page */
|
/* Copy only a part of the page */
|
||||||
PageLength = PAGE_OFFSET(LinearAddress + Size);
|
PageLength = PAGE_OFFSET(LinearAddress + Size) - PageOffset;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Write the memory */
|
/* Write the memory */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue