mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-29 19:26:33 +00:00
[NTVDM]
Add a comment which explains the weird check for odd-numbered lines. svn path=/trunk/; revision=63200
This commit is contained in:
@@ -1205,6 +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)
|
||||
{
|
||||
/* Odd-numbered line - add the CGA emulation offset */
|
||||
|
||||
Reference in New Issue
Block a user