mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 11:45:18 +02:00
Windows: Clamp the reported refresh rate to 60, experiment for problem from #16725
This commit is contained in:
+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