Set Windows timer resolution to 0,5ms (#4579)

* Fix for https://github.com/RPCS3/rpcs3/issues/4569
(Win 10 update 1803 performance regression)
This commit is contained in:
pauls-gh 2018-05-17 04:00:22 -07:00 committed by Ivan
parent 2eae06454b
commit fdef77d779
3 changed files with 18 additions and 7 deletions

View file

@ -79,13 +79,6 @@ int main(int argc, char** argv)
// I think there was an issue with gsframe if I recall correctly, so look out for that
//QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
SetProcessDPIAware();
timeBeginPeriod(1);
atexit([]
{
timeEndPeriod(1);
});
#else
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
#endif