krnl386.exe16: Indentation fix.

oldstable
Andrew Talbot 2012-12-15 14:43:37 +00:00 committed by Alexandre Julliard
parent c8e952c939
commit 10fb1eac9c
2 changed files with 7 additions and 7 deletions

View File

@ -278,7 +278,7 @@ void WINAPI DOSVM_Int2fHandler( CONTEXT *context )
if(BX_reg(context) == 0x5145 && CX_reg(context) == 0x4D4D if(BX_reg(context) == 0x5145 && CX_reg(context) == 0x4D4D
&& DX_reg(context) == 0x3432) && DX_reg(context) == 0x3432)
TRACE("Check for QEMM v5.0+ (not installed)\n"); TRACE("Check for QEMM v5.0+ (not installed)\n");
break; break;
default: default:
INT_BARF( context, 0x2f ); INT_BARF( context, 0x2f );
break; break;
@ -302,7 +302,7 @@ void WINAPI DOSVM_Int2fHandler( CONTEXT *context )
if(BX_reg(context) == 0x4450 && CX_reg(context) == 0x4d49 if(BX_reg(context) == 0x4450 && CX_reg(context) == 0x4d49
&& DX_reg(context) == 0x8f4f) && DX_reg(context) == 0x8f4f)
TRACE("Check for QDPMI.SYS (not installed)\n"); TRACE("Check for QDPMI.SYS (not installed)\n");
break; break;
default: default:
INT_BARF( context, 0x2f ); INT_BARF( context, 0x2f );
break; break;

View File

@ -1007,12 +1007,12 @@ void VGA_SetPalette(PALETTEENTRY*pal,int start,int len)
/* set a single [char wide] color in 16 color mode. */ /* set a single [char wide] color in 16 color mode. */
void VGA_SetColor16(int reg,int color) void VGA_SetColor16(int reg,int color)
{ {
PALETTEENTRY *pal; PALETTEENTRY *pal;
if (!lpddraw) return; if (!lpddraw) return;
pal= &vga_def64_palette[color]; pal= &vga_def64_palette[color];
IDirectDrawPalette_SetEntries(lpddpal,0,reg,1,pal); IDirectDrawPalette_SetEntries(lpddpal,0,reg,1,pal);
vga_16_palette[reg]=(char)color; vga_16_palette[reg]=(char)color;
} }
/* Get a single [char wide] color in 16 color mode. */ /* Get a single [char wide] color in 16 color mode. */
@ -1020,7 +1020,7 @@ char VGA_GetColor16(int reg)
{ {
if (!lpddraw) return 0; if (!lpddraw) return 0;
return vga_16_palette[reg]; return vga_16_palette[reg];
} }
/* set all 17 [char wide] colors at once in 16 color mode. */ /* set all 17 [char wide] colors at once in 16 color mode. */