Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
26527b4c
Commit
26527b4c
authored
Sep 15, 2009
by
Gerald Pfeifer
Committed by
Alexandre Julliard
Sep 16, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedos: Clarify three logical expressions.
parent
8f0fd259
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
vga.c
dlls/winedos/vga.c
+3
-3
No files found.
dlls/winedos/vga.c
View file @
26527b4c
...
@@ -1824,7 +1824,7 @@ void VGA_ioport_out( WORD port, BYTE val )
...
@@ -1824,7 +1824,7 @@ void VGA_ioport_out( WORD port, BYTE val )
FIXME
(
"Unsupported value, VGA register 0x3d8: 0x%02x (bit 5) - blink is not supported.
\n
"
,
val
);
FIXME
(
"Unsupported value, VGA register 0x3d8: 0x%02x (bit 5) - blink is not supported.
\n
"
,
val
);
}
}
/* Enable Video Signal (bit 3) - Set the enabled bit */
/* Enable Video Signal (bit 3) - Set the enabled bit */
VGA_SetEnabled
((
val
&
0x08
)
&&
1
);
VGA_SetEnabled
((
val
&
0x08
)
!=
0
);
/* xxx1x010 - Detect 160x200, 16 color mode (CGA composite) */
/* xxx1x010 - Detect 160x200, 16 color mode (CGA composite) */
if
(
(
val
&
0x17
)
==
0x12
)
if
(
(
val
&
0x17
)
==
0x12
)
...
@@ -1885,10 +1885,10 @@ void VGA_ioport_out( WORD port, BYTE val )
...
@@ -1885,10 +1885,10 @@ void VGA_ioport_out( WORD port, BYTE val )
/* Colour control register (CGA) */
/* Colour control register (CGA) */
case
0x3d9
:
case
0x3d9
:
/* Set bright */
/* Set bright */
VGA_SetBright
((
val
&
0x10
)
&&
1
);
VGA_SetBright
((
val
&
0x10
)
!=
0
);
/* Set palette index */
/* Set palette index */
VGA_SetPaletteIndex
((
val
&
0x20
)
&&
1
);
VGA_SetPaletteIndex
((
val
&
0x20
)
!=
0
);
/* Now update the palette */
/* Now update the palette */
VGA_UpdatePalette
();
VGA_UpdatePalette
();
...
...
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