summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
67bc39d)
Fix the previous two fixes. Tests show that the first line is actually treated
as an even-numbered line.
svn path=/trunk/; revision=63201
DWORD Offset = Address + (j / 8);
BYTE LowPlaneData, HighPlaneData;
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 */
Offset += VGA_CGA_ODD_LINE_OFFSET;
{
/* Odd-numbered line - add the CGA emulation offset */
Offset += VGA_CGA_ODD_LINE_OFFSET;