Author: hbelusca
Date: Fri Apr 17 12:13:49 2015
New Revision: 67223
URL:
http://svn.reactos.org/svn/reactos?rev=67223&view=rev
Log:
[NTVDM]: Fix VgaGetDoubleVisionState definition (it was already correctly used in
hardware/mouse.c).
Modified:
trunk/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.c
trunk/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.h
Modified: trunk/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/hard…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.c [iso-8859-1] Fri Apr 17
12:13:49 2015
@@ -1890,11 +1890,11 @@
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;
}
Modified: trunk/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/mvdm/ntvdm/hard…
==============================================================================
--- trunk/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.h [iso-8859-1] (original)
+++ trunk/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.h [iso-8859-1] Fri Apr 17
12:13:49 2015
@@ -262,7 +262,7 @@
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);