general: Use console mode helper across project

This commit is contained in:
lat9nq
2023-08-22 21:58:23 -04:00
parent ab862207d7
commit 3c45452fae
13 changed files with 34 additions and 49 deletions

View File

@ -68,9 +68,7 @@ void Controller::SetFromCpuBoostMode(CpuBoostMode mode) {
}
PerformanceMode Controller::GetCurrentPerformanceMode() const {
return Settings::values.use_docked_mode.GetValue() == Settings::ConsoleMode::Docked
? PerformanceMode::Boost
: PerformanceMode::Normal;
return Settings::IsDockedMode() ? PerformanceMode::Boost : PerformanceMode::Normal;
}
PerformanceConfiguration Controller::GetCurrentPerformanceConfiguration(PerformanceMode mode) {