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
a969416c
Commit
a969416c
authored
Feb 19, 2003
by
Jukka Heinonen
Committed by
Alexandre Julliard
Feb 19, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ignore get shadow buffer function.
Remember to synchronize VGA display on program exit because update thread may not have time to run.
parent
76c30657
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
0 deletions
+26
-0
int10.c
dlls/winedos/int10.c
+5
-0
vga.c
dlls/winedos/vga.c
+21
-0
No files found.
dlls/winedos/int10.c
View file @
a969416c
...
...
@@ -1110,6 +1110,11 @@ void WINAPI DOSVM_Int10Handler( CONTEXT86 *context )
INT10_HandleVESA
(
context
);
break
;
case
0xfe
:
/* GET SHADOW BUFFER */
TRACE
(
"GET SHADOW BUFFER %x:%x - ignored
\n
"
,
context
->
SegEs
,
DI_reg
(
context
)
);
break
;
default:
FIXME
(
"Unknown - 0x%x
\n
"
,
AH_reg
(
context
));
INT_BARF
(
context
,
0x10
);
...
...
dlls/winedos/vga.c
View file @
a969416c
...
...
@@ -283,11 +283,32 @@ static void VGA_DeinstallTimer(void)
{
if
(
VGA_timer_thread
)
{
/*
* Make sure the update thread is not holding
* system resources when we kill it.
*
* Now, we only need to worry about update thread
* getting terminated while in EnterCriticalSection
* or WaitForMultipleObjectsEx.
*
* FIXME: Is this a problem?
*/
EnterCriticalSection
(
&
vga_lock
);
CancelWaitableTimer
(
VGA_timer
);
CloseHandle
(
VGA_timer
);
TerminateThread
(
VGA_timer_thread
,
0
);
CloseHandle
(
VGA_timer_thread
);
VGA_timer_thread
=
0
;
LeaveCriticalSection
(
&
vga_lock
);
/*
* Synchronize display. This makes sure that
* changes to display become visible even if program
* terminates before update thread had time to run.
*/
VGA_Poll
(
0
,
0
,
0
);
}
}
...
...
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