Author: hbelusca
Date: Tue Nov 18 00:44:24 2014
New Revision: 65429
URL:
http://svn.reactos.org/svn/reactos?rev=65429&view=rev
Log:
[NTVDM]: Inline a function and fix spelling.
Modified:
trunk/reactos/subsystems/ntvdm/bios/vidbios.c
Modified: trunk/reactos/subsystems/ntvdm/bios/vidbios.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/ntvdm/bios/vidb…
==============================================================================
--- trunk/reactos/subsystems/ntvdm/bios/vidbios.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/ntvdm/bios/vidbios.c [iso-8859-1] Tue Nov 18 00:44:24 2014
@@ -2339,7 +2339,7 @@
VidBiosSetCursorPosition(Row, Column, Bda->VideoPage);
}
-static BYTE VidBiosGetVideoMode(VOID)
+static inline BYTE VidBiosGetVideoMode(VOID)
{
/* Bit 7 of VideoMode is determined by bit 7 of VGAOptions */
return Bda->VideoMode | (Bda->VGAOptions & 0x80);
@@ -3177,12 +3177,12 @@
break;
}
- /* Display combination code */
+ /* Get/Set Display combination code */
case 0x1A:
{
switch (getAL())
{
- case 0x00: /* Get Display combiantion code */
+ case 0x00: /* Get Display combination code */
setAX(MAKEWORD(0x1A, 0x1A));
setBX(MAKEWORD(0x08, 0x00)); /* VGA w/ color analog display */
break;