1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-22 18:53:28 +01:00

WIN32: set timer resolution clock to 1 ms

This commit is contained in:
raven02 2014-11-10 07:34:28 +08:00
parent 2fb0911e2a
commit ea7ec448dd

View File

@ -165,6 +165,10 @@ void Rpcs3App::Exit()
Ini.Save();
wxApp::Exit();
#ifdef _WIN32
timeEndPeriod(1);
#endif
}
void Rpcs3App::SendDbgCommand(DbgCommand id, CPUThread* thr)
@ -176,6 +180,10 @@ void Rpcs3App::SendDbgCommand(DbgCommand id, CPUThread* thr)
Rpcs3App::Rpcs3App()
{
#ifdef _WIN32
timeBeginPeriod(1);
#endif
#if defined(__unix__) && !defined(__APPLE__)
XInitThreads();
#endif