Prevent the Windows timer resolution from being changed

This commit is contained in:
Luke Usher 2017-07-11 08:47:36 +01:00
parent 3bb19a836d
commit 2e19ea132b
1 changed files with 0 additions and 4 deletions

View File

@ -1424,8 +1424,6 @@ static DWORD WINAPI EmuUpdateTickCount(LPVOID)
DbgPrintf("EmuD3D8: Timing thread is running.\n"); DbgPrintf("EmuD3D8: Timing thread is running.\n");
timeBeginPeriod(0);
// current vertical blank count // current vertical blank count
int curvb = 0; int curvb = 0;
@ -1512,8 +1510,6 @@ static DWORD WINAPI EmuUpdateTickCount(LPVOID)
g_SwapData.TimeBetweenSwapVBlanks = 0; g_SwapData.TimeBetweenSwapVBlanks = 0;
} }
} }
timeEndPeriod(0);
} }
// thread dedicated to create devices // thread dedicated to create devices