diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-04-01 23:28:49 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2020-06-27 17:36:05 +0200 |
commit | 48fa3b7a0f2054a836b0a8061e6b082c246b5ae0 (patch) | |
tree | 37a09cfb55f13ebf2df2b9a71622c599733100b0 /src/core/hle/kernel/svc.cpp | |
parent | Kernel/svcBreak: Implement CacheInvalidation for Singlecore and correct svcBreak. (diff) | |
download | yuzu-48fa3b7a0f2054a836b0a8061e6b082c246b5ae0.tar yuzu-48fa3b7a0f2054a836b0a8061e6b082c246b5ae0.tar.gz yuzu-48fa3b7a0f2054a836b0a8061e6b082c246b5ae0.tar.bz2 yuzu-48fa3b7a0f2054a836b0a8061e6b082c246b5ae0.tar.lz yuzu-48fa3b7a0f2054a836b0a8061e6b082c246b5ae0.tar.xz yuzu-48fa3b7a0f2054a836b0a8061e6b082c246b5ae0.tar.zst yuzu-48fa3b7a0f2054a836b0a8061e6b082c246b5ae0.zip |
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index dbd35580e..781032cd1 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -16,7 +16,6 @@ #include "common/string_util.h" #include "core/arm/exclusive_monitor.h" #include "core/core.h" -#include "core/core_manager.h" #include "core/core_timing.h" #include "core/core_timing_util.h" #include "core/cpu_manager.h" @@ -1909,7 +1908,7 @@ static ResultCode SetThreadCoreMask(Core::System& system, Handle thread_handle, return ERR_INVALID_COMBINATION; } - if (core < Core::NUM_CPU_CORES) { + if (core < Core::Hardware::NUM_CPU_CORES) { if ((affinity_mask & (1ULL << core)) == 0) { LOG_ERROR(Kernel_SVC, "Core is not enabled for the current mask, core={}, mask={:016X}", core, |