diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-08-27 01:15:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-27 01:15:00 +0200 |
commit | 6c4abd23be375afda850661cdf164b65e52f8cb8 (patch) | |
tree | 4245dfb837da484556040bb02915d0e7b53569c8 /src/core/hle/service/apm/apm_controller.cpp | |
parent | Merge pull request #11359 from Kelebek1/check_suitable_backend (diff) | |
parent | main: Fix docked mode button, clang 14 error (diff) | |
download | yuzu-6c4abd23be375afda850661cdf164b65e52f8cb8.tar yuzu-6c4abd23be375afda850661cdf164b65e52f8cb8.tar.gz yuzu-6c4abd23be375afda850661cdf164b65e52f8cb8.tar.bz2 yuzu-6c4abd23be375afda850661cdf164b65e52f8cb8.tar.lz yuzu-6c4abd23be375afda850661cdf164b65e52f8cb8.tar.xz yuzu-6c4abd23be375afda850661cdf164b65e52f8cb8.tar.zst yuzu-6c4abd23be375afda850661cdf164b65e52f8cb8.zip |
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, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/apm/apm_controller.cpp b/src/core/hle/service/apm/apm_controller.cpp index 227fdd0cf..4f1aa5cc2 100644 --- a/src/core/hle/service/apm/apm_controller.cpp +++ b/src/core/hle/service/apm/apm_controller.cpp @@ -7,6 +7,7 @@ #include "common/logging/log.h" #include "common/settings.h" +#include "common/settings_enums.h" #include "core/core_timing.h" #include "core/hle/service/apm/apm_controller.h" @@ -67,8 +68,7 @@ void Controller::SetFromCpuBoostMode(CpuBoostMode mode) { } PerformanceMode Controller::GetCurrentPerformanceMode() const { - return Settings::values.use_docked_mode.GetValue() ? PerformanceMode::Boost - : PerformanceMode::Normal; + return Settings::IsDockedMode() ? PerformanceMode::Boost : PerformanceMode::Normal; } PerformanceConfiguration Controller::GetCurrentPerformanceConfiguration(PerformanceMode mode) { |