mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-23 03:02:53 +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();
|
Ini.Save();
|
||||||
|
|
||||||
wxApp::Exit();
|
wxApp::Exit();
|
||||||
|
|
||||||
|
#ifdef _WIN32
|
||||||
|
timeEndPeriod(1);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void Rpcs3App::SendDbgCommand(DbgCommand id, CPUThread* thr)
|
void Rpcs3App::SendDbgCommand(DbgCommand id, CPUThread* thr)
|
||||||
@ -176,6 +180,10 @@ void Rpcs3App::SendDbgCommand(DbgCommand id, CPUThread* thr)
|
|||||||
|
|
||||||
Rpcs3App::Rpcs3App()
|
Rpcs3App::Rpcs3App()
|
||||||
{
|
{
|
||||||
|
#ifdef _WIN32
|
||||||
|
timeBeginPeriod(1);
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(__unix__) && !defined(__APPLE__)
|
#if defined(__unix__) && !defined(__APPLE__)
|
||||||
XInitThreads();
|
XInitThreads();
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user