diff options
| author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-08-22 21:58:23 -0400 |
|---|---|---|
| committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-08-22 21:58:23 -0400 |
| commit | 3c45452fae7f33d0534c144c5f588ef98f0a1346 (patch) | |
| tree | 02ba43c8405ae2ca8b80940653cb558d0db6191a /src/core/hle/service/apm/apm_controller.cpp | |
| parent | ab862207d7f2de712e1f711141d20921b414cdf7 (diff) | |
general: Use console mode helper across project
Diffstat (limited to 'src/core/hle/service/apm/apm_controller.cpp')
| -rw-r--r-- | src/core/hle/service/apm/apm_controller.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/core/hle/service/apm/apm_controller.cpp b/src/core/hle/service/apm/apm_controller.cpp index 1656b2e73..4f1aa5cc2 100644 --- a/src/core/hle/service/apm/apm_controller.cpp +++ b/src/core/hle/service/apm/apm_controller.cpp @@ -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) { |
