mirror of
https://github.com/yuzu-mirror/yuzu.git
synced 2024-11-18 04:10:00 +00:00
perf_stats: Check multicore first
SpeedLimiting is SC only. Since MC is performance oriented we should check for it first to skip checking use_speed_limit.
This commit is contained in:
parent
1073346c7f
commit
67560296c6
1 changed files with 2 additions and 2 deletions
|
@ -126,8 +126,8 @@ double PerfStats::GetLastFrameTimeScale() const {
|
||||||
}
|
}
|
||||||
|
|
||||||
void SpeedLimiter::DoSpeedLimiting(microseconds current_system_time_us) {
|
void SpeedLimiter::DoSpeedLimiting(microseconds current_system_time_us) {
|
||||||
if (!Settings::values.use_speed_limit.GetValue() ||
|
if (Settings::values.use_multi_core.GetValue() ||
|
||||||
Settings::values.use_multi_core.GetValue()) {
|
!Settings::values.use_speed_limit.GetValue()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue