summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2020-04-01 17:28:49 -0400
committerGravatar Fernando Sahmkow2020-06-27 11:36:05 -0400
commit48fa3b7a0f2054a836b0a8061e6b082c246b5ae0 (patch)
tree37a09cfb55f13ebf2df2b9a71622c599733100b0 /src/core/hle/kernel/svc.cpp
parentKernel/svcBreak: Implement CacheInvalidation for Singlecore and correct svcBr... (diff)
downloadyuzu-48fa3b7a0f2054a836b0a8061e6b082c246b5ae0.tar.gz
yuzu-48fa3b7a0f2054a836b0a8061e6b082c246b5ae0.tar.xz
yuzu-48fa3b7a0f2054a836b0a8061e6b082c246b5ae0.zip
General: Cleanup legacy code.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp3
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 @@
16#include "common/string_util.h" 16#include "common/string_util.h"
17#include "core/arm/exclusive_monitor.h" 17#include "core/arm/exclusive_monitor.h"
18#include "core/core.h" 18#include "core/core.h"
19#include "core/core_manager.h"
20#include "core/core_timing.h" 19#include "core/core_timing.h"
21#include "core/core_timing_util.h" 20#include "core/core_timing_util.h"
22#include "core/cpu_manager.h" 21#include "core/cpu_manager.h"
@@ -1909,7 +1908,7 @@ static ResultCode SetThreadCoreMask(Core::System& system, Handle thread_handle,
1909 return ERR_INVALID_COMBINATION; 1908 return ERR_INVALID_COMBINATION;
1910 } 1909 }
1911 1910
1912 if (core < Core::NUM_CPU_CORES) { 1911 if (core < Core::Hardware::NUM_CPU_CORES) {
1913 if ((affinity_mask & (1ULL << core)) == 0) { 1912 if ((affinity_mask & (1ULL << core)) == 0) {
1914 LOG_ERROR(Kernel_SVC, 1913 LOG_ERROR(Kernel_SVC,
1915 "Core is not enabled for the current mask, core={}, mask={:016X}", core, 1914 "Core is not enabled for the current mask, core={}, mask={:016X}", core,