diff options
| author | bunnei <bunneidev@gmail.com> | 2020-11-17 20:02:27 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-11-17 20:02:27 -0800 |
| commit | abda36636245c416a75774165d2a5b49610952fc (patch) | |
| tree | 0bf3bab90e2155a3a16ffa21eabbc2a4c8f9d39d /src/core/hle/service/apm/controller.cpp | |
| parent | 2dc9dbb809eaebff568568fef90bbb0f19f976ad (diff) | |
| parent | e7e8a87927899b69bfe9f8e38f26dac08ec37abe (diff) | |
Merge pull request #4866 from Morph1984/mjolnir-p3-prod
Project Mjölnir: Part 3 - Controller Profiles and Vibration Rework
Diffstat (limited to 'src/core/hle/service/apm/controller.cpp')
| -rw-r--r-- | src/core/hle/service/apm/controller.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/apm/controller.cpp b/src/core/hle/service/apm/controller.cpp index 25a886238..ce993bad3 100644 --- a/src/core/hle/service/apm/controller.cpp +++ b/src/core/hle/service/apm/controller.cpp @@ -69,7 +69,8 @@ void Controller::SetFromCpuBoostMode(CpuBoostMode mode) { } PerformanceMode Controller::GetCurrentPerformanceMode() const { - return Settings::values.use_docked_mode ? PerformanceMode::Docked : PerformanceMode::Handheld; + return Settings::values.use_docked_mode.GetValue() ? PerformanceMode::Docked + : PerformanceMode::Handheld; } PerformanceConfiguration Controller::GetCurrentPerformanceConfiguration(PerformanceMode mode) { |
