[NTVDM]: Inline a function and fix spelling.

svn path=/trunk/; revision=65429
This commit is contained in:
Hermès Bélusca-Maïto 2014-11-18 00:44:24 +00:00
parent b868fbf04a
commit d6985bdb0a

View file

@ -2339,7 +2339,7 @@ VOID VidBiosSyncCursorPosition(VOID)
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 @@ VOID WINAPI VidBiosVideoService(LPWORD Stack)
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;