mirror of
https://github.com/libretro/ppsspp.git
synced 2024-11-27 18:30:56 +00:00
Fixes
This commit is contained in:
parent
e2c9fa7f57
commit
7347c28464
@ -405,7 +405,6 @@ static bool IsRunningSlow() {
|
||||
if (fpsHistoryValid >= 8) {
|
||||
// Look at only the last 15 samples (starting at the 14th sample behind current.)
|
||||
int rangeStart = fpsHistoryPos - std::min(fpsHistoryValid, 14);
|
||||
System_GetPropertyInt(SYSPROP_DISPLAY_REFRESH_RATE) / 1.001f;
|
||||
|
||||
double best = 0.0f;
|
||||
for (int i = rangeStart; i <= fpsHistoryPos; ++i) {
|
||||
@ -414,7 +413,7 @@ static bool IsRunningSlow() {
|
||||
best = std::max(fpsHistory[index], best);
|
||||
}
|
||||
|
||||
return best < 58.94;
|
||||
return best < System_GetPropertyInt(SYSPROP_DISPLAY_REFRESH_RATE) / 1.001f;
|
||||
}
|
||||
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user