diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-10 13:55:11 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-10 13:55:11 -0500 |
| commit | 2b8955aaa490d93a1224e38036b475ea526305c7 (patch) | |
| tree | c589832d3b517d96dae79b7263b92fe69a3457ba /src/core/perf_stats.cpp | |
| parent | fc5226669b171430d611de98f140553a58d184bd (diff) | |
| parent | 95585fe46bf2a36b3675fb767c9ace45c700becc (diff) | |
Merge pull request #9917 from Morph1984/the-real-time
native_clock: Re-adjust the RDTSC frequency to its real frequency
Diffstat (limited to 'src/core/perf_stats.cpp')
| -rw-r--r-- | src/core/perf_stats.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/perf_stats.cpp b/src/core/perf_stats.cpp index f09c176f81..1231c0dc87 100644 --- a/src/core/perf_stats.cpp +++ b/src/core/perf_stats.cpp @@ -126,8 +126,8 @@ double PerfStats::GetLastFrameTimeScale() const { } void SpeedLimiter::DoSpeedLimiting(microseconds current_system_time_us) { - if (!Settings::values.use_speed_limit.GetValue() || - Settings::values.use_multi_core.GetValue()) { + if (Settings::values.use_multi_core.GetValue() || + !Settings::values.use_speed_limit.GetValue()) { return; } |
