Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
10fb1eac
Commit
10fb1eac
authored
Dec 15, 2012
by
Andrew Talbot
Committed by
Alexandre Julliard
Dec 15, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
krnl386.exe16: Indentation fix.
parent
c8e952c9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
int2f.c
dlls/krnl386.exe16/int2f.c
+2
-2
vga.c
dlls/krnl386.exe16/vga.c
+5
-5
No files found.
dlls/krnl386.exe16/int2f.c
View file @
10fb1eac
...
...
@@ -278,7 +278,7 @@ void WINAPI DOSVM_Int2fHandler( CONTEXT *context )
if
(
BX_reg
(
context
)
==
0x5145
&&
CX_reg
(
context
)
==
0x4D4D
&&
DX_reg
(
context
)
==
0x3432
)
TRACE
(
"Check for QEMM v5.0+ (not installed)
\n
"
);
break
;
break
;
default:
INT_BARF
(
context
,
0x2f
);
break
;
...
...
@@ -302,7 +302,7 @@ void WINAPI DOSVM_Int2fHandler( CONTEXT *context )
if
(
BX_reg
(
context
)
==
0x4450
&&
CX_reg
(
context
)
==
0x4d49
&&
DX_reg
(
context
)
==
0x8f4f
)
TRACE
(
"Check for QDPMI.SYS (not installed)
\n
"
);
break
;
break
;
default:
INT_BARF
(
context
,
0x2f
);
break
;
...
...
dlls/krnl386.exe16/vga.c
View file @
10fb1eac
...
...
@@ -1007,12 +1007,12 @@ void VGA_SetPalette(PALETTEENTRY*pal,int start,int len)
/* set a single [char wide] color in 16 color mode. */
void
VGA_SetColor16
(
int
reg
,
int
color
)
{
PALETTEENTRY
*
pal
;
PALETTEENTRY
*
pal
;
if
(
!
lpddraw
)
return
;
pal
=
&
vga_def64_palette
[
color
];
IDirectDrawPalette_SetEntries
(
lpddpal
,
0
,
reg
,
1
,
pal
);
vga_16_palette
[
reg
]
=
(
char
)
color
;
pal
=
&
vga_def64_palette
[
color
];
IDirectDrawPalette_SetEntries
(
lpddpal
,
0
,
reg
,
1
,
pal
);
vga_16_palette
[
reg
]
=
(
char
)
color
;
}
/* Get a single [char wide] color in 16 color mode. */
...
...
@@ -1020,7 +1020,7 @@ char VGA_GetColor16(int reg)
{
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. */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment