[NTVDM]: Fix VgaGetDoubleVisionState definition (it was already correctly used in...
authorHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 17 Apr 2015 12:13:49 +0000 (12:13 +0000)
committerHermès Bélusca-Maïto <hermes.belusca-maito@reactos.org>
Fri, 17 Apr 2015 12:13:49 +0000 (12:13 +0000)
svn path=/trunk/; revision=67223

reactos/subsystems/mvdm/ntvdm/hardware/video/vga.c
reactos/subsystems/mvdm/ntvdm/hardware/video/vga.h

index 4cf83a8..e0226a7 100644 (file)
@@ -1890,11 +1890,11 @@ COORD VgaGetDisplayResolution(VOID)
     return Resolution;
 }
 
-BOOLEAN VgaGetDoubleVisionState(PBOOLEAN Vertical, PBOOLEAN Horizontal)
+BOOLEAN VgaGetDoubleVisionState(PBOOLEAN Horizontal, PBOOLEAN Vertical)
 {
     if (GraphicsConsoleBuffer == NULL) return FALSE;
-    if (Vertical) *Vertical = DoubleWidth;
-    if (Horizontal) *Horizontal = DoubleHeight;
+    if (Horizontal) *Horizontal = DoubleWidth;
+    if (Vertical)   *Vertical   = DoubleHeight;
     return TRUE;
 }
 
index 51e2d57..b1716b3 100644 (file)
@@ -262,7 +262,7 @@ COORD VgaGetDisplayResolution(VOID);
 VOID VgaRefreshDisplay(VOID);
 VOID VgaWriteFont(UINT FontNumber, CONST UCHAR *FontData, UINT Height);
 VOID VgaClearMemory(VOID);
-BOOLEAN VgaGetDoubleVisionState(PBOOLEAN Vertical, PBOOLEAN Horizontal);
+BOOLEAN VgaGetDoubleVisionState(PBOOLEAN Horizontal, PBOOLEAN Vertical);
 
 BOOLEAN VgaInitialize(HANDLE TextHandle);
 VOID VgaCleanup(VOID);