mirror of
https://github.com/reactos/reactos.git
synced 2024-11-20 06:15:26 +00:00
[NTVDM]
Fix the previous two fixes. Tests show that the first line is actually treated as an even-numbered line. svn path=/trunk/; revision=63201
This commit is contained in:
parent
67bc39db31
commit
9c0d390343
1 changed files with 1 additions and 2 deletions
|
@ -1205,8 +1205,7 @@ static VOID VgaUpdateFramebuffer(VOID)
|
|||
DWORD Offset = Address + (j / 8);
|
||||
BYTE LowPlaneData, HighPlaneData;
|
||||
|
||||
/* Check if the 0-based index is divisible by 2. If so, the 1-based index is an odd number. */
|
||||
if (i % 2 == 0)
|
||||
if (i % 2 != 0)
|
||||
{
|
||||
/* Odd-numbered line - add the CGA emulation offset */
|
||||
Offset += VGA_CGA_ODD_LINE_OFFSET;
|
||||
|
|
Loading…
Reference in a new issue