From bde7a617bd4f4b5bd00173beb8d4792a38ddedd6 Mon Sep 17 00:00:00 2001 From: Aleksandar Andrejevic Date: Wed, 28 Oct 2015 00:39:29 +0000 Subject: [PATCH] [NTVDM] 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/reactos/subsystems/mvdm/ntvdm/hardware/video/svga.c b/reactos/subsystems/mvdm/ntvdm/hardware/video/svga.c index ba4f01f8bfd..835cd292172 100644 --- a/reactos/subsystems/mvdm/ntvdm/hardware/video/svga.c +++ b/reactos/subsystems/mvdm/ntvdm/hardware/video/svga.c @@ -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))