mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Windows: Clamp the reported refresh rate to 60, experiment for problem from #16725
This commit is contained in:
1 parent
ec2a95e965
commit
79e4a3d345
1 file changed
+1
-1
+1
-1
@@ -291,7 +291,7 @@ static int ScreenRefreshRateHz() {
|
||||
return 60; // default value
|
||||
} else {
|
||||
if (lpDevMode.dmFields & DM_DISPLAYFREQUENCY) {
|
||||
return lpDevMode.dmDisplayFrequency > 15 ? lpDevMode.dmDisplayFrequency : 60;
|
||||
return lpDevMode.dmDisplayFrequency > 60 ? lpDevMode.dmDisplayFrequency : 60;
|
||||
} else {
|
||||
return 60;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user