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:
parent
2fb0911e2a
commit
ea7ec448dd
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user