diff options
author | german77 <juangerman-13@hotmail.com> | 2021-06-19 21:38:49 +0200 |
---|---|---|
committer | MonsterDruide1 <5958456@gmail.com> | 2021-09-18 23:22:30 +0200 |
commit | c01a872c8efa90065b6ba1a74079ddf6ec12058f (patch) | |
tree | d441117b0d133bff32b39f5060b31db57bc0413f /src/core/hle/service/apm | |
parent | core: Hacky TAS syncing & load pausing (diff) | |
download | yuzu-c01a872c8efa90065b6ba1a74079ddf6ec12058f.tar yuzu-c01a872c8efa90065b6ba1a74079ddf6ec12058f.tar.gz yuzu-c01a872c8efa90065b6ba1a74079ddf6ec12058f.tar.bz2 yuzu-c01a872c8efa90065b6ba1a74079ddf6ec12058f.tar.lz yuzu-c01a872c8efa90065b6ba1a74079ddf6ec12058f.tar.xz yuzu-c01a872c8efa90065b6ba1a74079ddf6ec12058f.tar.zst yuzu-c01a872c8efa90065b6ba1a74079ddf6ec12058f.zip |
Diffstat (limited to 'src/core/hle/service/apm')
-rw-r--r-- | src/core/hle/service/apm/apm_interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/apm/apm_interface.cpp b/src/core/hle/service/apm/apm_interface.cpp index 724483107..520ccfa88 100644 --- a/src/core/hle/service/apm/apm_interface.cpp +++ b/src/core/hle/service/apm/apm_interface.cpp @@ -121,7 +121,7 @@ void APM_Sys::SetCpuBoostMode(Kernel::HLERequestContext& ctx) { LOG_DEBUG(Service_APM, "called, mode={:08X}", mode); - Settings::values.is_cpu_boosted = (static_cast<u32>(mode) == 1); + Settings::values.is_cpu_boosted = (mode == CpuBoostMode::Full); controller.SetFromCpuBoostMode(mode); IPC::ResponseBuilder rb{ctx, 2}; |