diff options
author | bunnei <bunneidev@gmail.com> | 2018-03-27 04:59:18 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-03-27 05:02:36 +0200 |
commit | 5ecf152c8ee1bb6f8f050d16dda56c1b115e0ff3 (patch) | |
tree | eb7722cc9dee21ca3fe35df1187f3e2d41131448 /src/core/hle/service/am/am.cpp | |
parent | configure_general: Cleanup naming. (diff) | |
download | yuzu-5ecf152c8ee1bb6f8f050d16dda56c1b115e0ff3.tar yuzu-5ecf152c8ee1bb6f8f050d16dda56c1b115e0ff3.tar.gz yuzu-5ecf152c8ee1bb6f8f050d16dda56c1b115e0ff3.tar.bz2 yuzu-5ecf152c8ee1bb6f8f050d16dda56c1b115e0ff3.tar.lz yuzu-5ecf152c8ee1bb6f8f050d16dda56c1b115e0ff3.tar.xz yuzu-5ecf152c8ee1bb6f8f050d16dda56c1b115e0ff3.tar.zst yuzu-5ecf152c8ee1bb6f8f050d16dda56c1b115e0ff3.zip |
Diffstat (limited to 'src/core/hle/service/am/am.cpp')
-rw-r--r-- | src/core/hle/service/am/am.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cpp index 07522e730..bab338205 100644 --- a/src/core/hle/service/am/am.cpp +++ b/src/core/hle/service/am/am.cpp @@ -242,20 +242,20 @@ void ICommonStateGetter::GetCurrentFocusState(Kernel::HLERequestContext& ctx) { } void ICommonStateGetter::GetOperationMode(Kernel::HLERequestContext& ctx) { - const bool is_docked{Settings::values.is_docked}; + const bool use_docked_mode{Settings::values.use_docked_mode}; IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Push(static_cast<u8>(is_docked ? OperationMode::Docked : OperationMode::Handheld)); + rb.Push(static_cast<u8>(use_docked_mode ? OperationMode::Docked : OperationMode::Handheld)); LOG_WARNING(Service_AM, "(STUBBED) called"); } void ICommonStateGetter::GetPerformanceMode(Kernel::HLERequestContext& ctx) { - const bool is_docked{Settings::values.is_docked}; + const bool use_docked_mode{Settings::values.use_docked_mode}; IPC::ResponseBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Push(static_cast<u32>(is_docked ? APM::PerformanceMode::Docked - : APM::PerformanceMode::Handheld)); + rb.Push(static_cast<u32>(use_docked_mode ? APM::PerformanceMode::Docked + : APM::PerformanceMode::Handheld)); LOG_WARNING(Service_AM, "(STUBBED) called"); } |