set timeBeignPeriod in DllMain - Add SetProcessPriorityBoost
This commit is contained in:
parent
bfb0edd2c6
commit
c44055a214
5 changed files with 62 additions and 55 deletions
|
@ -68,8 +68,6 @@ DWORD WINAPI render_soft_main(void)
|
|||
DWORD tick_start = 0;
|
||||
DWORD tick_end = 0;
|
||||
DWORD frame_len = 0;
|
||||
|
||||
timeBeginPeriod(1);
|
||||
|
||||
if (ddraw->boxing)
|
||||
{
|
||||
|
@ -163,7 +161,6 @@ DWORD WINAPI render_soft_main(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
timeEndPeriod(1);
|
||||
|
||||
HeapFree(GetProcessHeap(), 0, bmi);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue