summaryrefslogtreecommitdiffstats
path: root/src/core/perf_stats.cpp
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-03-08 05:11:01 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-03-08 05:11:01 +0100
commit67560296c697914f6bf809dca2ab555038b19aa2 (patch)
tree8e2d30537f11f326eae5fcf905f3965075ff9da2 /src/core/perf_stats.cpp
parenthid: Use nanosecond timestamps instead of ticks (diff)
downloadyuzu-67560296c697914f6bf809dca2ab555038b19aa2.tar
yuzu-67560296c697914f6bf809dca2ab555038b19aa2.tar.gz
yuzu-67560296c697914f6bf809dca2ab555038b19aa2.tar.bz2
yuzu-67560296c697914f6bf809dca2ab555038b19aa2.tar.lz
yuzu-67560296c697914f6bf809dca2ab555038b19aa2.tar.xz
yuzu-67560296c697914f6bf809dca2ab555038b19aa2.tar.zst
yuzu-67560296c697914f6bf809dca2ab555038b19aa2.zip
Diffstat (limited to 'src/core/perf_stats.cpp')
-rw-r--r--src/core/perf_stats.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/perf_stats.cpp b/src/core/perf_stats.cpp
index f09c176f8..1231c0dc8 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;
}