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
8396dad5
Commit
8396dad5
authored
Jun 15, 2009
by
Francois Gouget
Committed by
Alexandre Julliard
Jun 15, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winedos: DOSVM_GetTimer() is not used so remove it.
parent
c5403196
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
22 deletions
+0
-22
dosexe.h
dlls/winedos/dosexe.h
+0
-1
timer.c
dlls/winedos/timer.c
+0
-21
No files found.
dlls/winedos/dosexe.h
View file @
8396dad5
...
...
@@ -363,7 +363,6 @@ extern DWORD WINAPI DOSVM_Loop( HANDLE hThread );
extern
void
WINAPI
DOSVM_QueueEvent
(
INT
irq
,
INT
priority
,
DOSRELAY
relay
,
LPVOID
data
);
extern
void
WINAPI
DOSVM_PIC_ioport_out
(
WORD
port
,
BYTE
val
);
extern
void
WINAPI
DOSVM_SetTimer
(
UINT
ticks
);
extern
UINT
WINAPI
DOSVM_GetTimer
(
void
);
/* devices.c */
extern
void
DOSDEV_InstallDOSDevices
(
void
);
...
...
dlls/winedos/timer.c
View file @
8396dad5
...
...
@@ -142,27 +142,6 @@ static void WINAPI TIMER_DoSetTimer( ULONG_PTR arg )
/***********************************************************************
* DOSVM_GetTimer
*/
UINT
WINAPI
DOSVM_GetTimer
(
void
)
{
if
(
!
DOSVM_IsWin16
())
{
DWORD
millis
=
GetTickCount
()
-
TIMER_stamp
;
INT
ticks
=
MulDiv
(
millis
,
TIMER_FREQ
,
1000
);
/* sanity check - tick wrap or suspended process or update race */
if
(
ticks
<
0
||
ticks
>=
TIMER_ticks
)
ticks
=
0
;
return
ticks
;
}
return
0
;
}
/***********************************************************************
* DOSVM_SetTimer
*/
void
WINAPI
DOSVM_SetTimer
(
UINT
ticks
)
...
...
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