[NTVDM]
authorAleksandar Andrejevic <aandrejevic@reactos.org>
Wed, 28 Oct 2015 00:39:29 +0000 (00:39 +0000)
committerAleksandar Andrejevic <aandrejevic@reactos.org>
Wed, 28 Oct 2015 00:39:29 +0000 (00:39 +0000)
VGA Horizontal splitting should reset the address to 0 + panning, and not
the start address + panning.

svn path=/trunk/; revision=69726

reactos/subsystems/mvdm/ntvdm/hardware/video/svga.c

index ba4f01f..835cd29 100644 (file)
@@ -1247,9 +1247,7 @@ static VOID VgaUpdateFramebuffer(VOID)
                 }
 
                 /* Reset the address, but assume the preset row scan is 0 */
-                Address = MAKEWORD(VgaCrtcRegisters[VGA_CRTC_START_ADDR_LOW_REG],
-                                   VgaCrtcRegisters[VGA_CRTC_START_ADDR_HIGH_REG])
-                          + BytePanning;
+                Address = BytePanning;
             }
 
             if ((VgaGcRegisters[VGA_GC_MISC_REG] & VGA_GC_MISC_OE) && (i & 1))