From: Hermès Bélusca-Maïto Date: Fri, 17 Apr 2015 12:13:49 +0000 (+0000) Subject: [NTVDM]: Fix VgaGetDoubleVisionState definition (it was already correctly used in... X-Git-Tag: backups/colins-printing-for-freedom@73041~393 X-Git-Url: https://git.reactos.org/?p=reactos.git;a=commitdiff_plain;h=1e7977088b83b1dfdfe64404401fe82502330e09 [NTVDM]: Fix VgaGetDoubleVisionState definition (it was already correctly used in hardware/mouse.c). svn path=/trunk/; revision=67223 --- diff --git a/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.c b/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.c index 4cf83a8495b..e0226a7389e 100644 --- a/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.c +++ b/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.c @@ -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; } diff --git a/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.h b/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.h index 51e2d571a0b..b1716b39f25 100644 --- a/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.h +++ b/reactos/subsystems/mvdm/ntvdm/hardware/video/vga.h @@ -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);