mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Restore timeBeginPeriod
This commit is contained in:
parent
6610abcd5f
commit
e875c91121
1 changed files with 7 additions and 0 deletions
|
@ -19,6 +19,13 @@ int main(int argc, char** argv)
|
||||||
SetProcessDPIAware();
|
SetProcessDPIAware();
|
||||||
WSADATA wsa_data;
|
WSADATA wsa_data;
|
||||||
WSAStartup(MAKEWORD(2, 2), &wsa_data);
|
WSAStartup(MAKEWORD(2, 2), &wsa_data);
|
||||||
|
timeBeginPeriod(1);
|
||||||
|
|
||||||
|
atexit([]
|
||||||
|
{
|
||||||
|
timeEndPeriod(1);
|
||||||
|
WSACleanup();
|
||||||
|
});
|
||||||
#else
|
#else
|
||||||
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
|
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue