Skip to content
Snippets Groups Projects
Unverified Commit 5678ec0d authored by Mat M's avatar Mat M Committed by GitHub
Browse files

Merge pull request #1144 from MerryMage/MAX_LAG_TIME_US

perf_stats: Change MAX_LAG_TIME_US to an appropriate value
parents bf89a998 3f4fb4b0
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ double PerfStats::GetLastFrameTimeScale() {
void FrameLimiter::DoFrameLimiting(microseconds current_system_time_us) {
// Max lag caused by slow frames. Can be adjusted to compensate for too many slow frames. Higher
// values increase the time needed to recover and limit framerate again after spikes.
constexpr microseconds MAX_LAG_TIME_US = 25us;
constexpr microseconds MAX_LAG_TIME_US = 25000us;
if (!Settings::values.toggle_framelimit) {
return;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment