mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
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:
parent
2eae06454b
commit
fdef77d779
3 changed files with 18 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue