summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/svc.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-04-15 20:17:15 -0400
committerGravatar Lioncash2019-04-29 01:37:51 -0400
commit69a2003a8e904399a84ec9d9573d77cdccb359d2 (patch)
tree0832deca2738710a7fa397f507288d73471b16cb /src/core/hle/kernel/svc.cpp
parentMerge pull request #2378 from lioncash/ro (diff)
downloadyuzu-69a2003a8e904399a84ec9d9573d77cdccb359d2.tar.gz
yuzu-69a2003a8e904399a84ec9d9573d77cdccb359d2.tar.xz
yuzu-69a2003a8e904399a84ec9d9573d77cdccb359d2.zip
kernel/thread: Update thread processor ID flags
Adds the missing flags to the enum and documents them.
Diffstat (limited to 'src/core/hle/kernel/svc.cpp')
-rw-r--r--src/core/hle/kernel/svc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp
index e5d4d6b55..bb12f9ac7 100644
--- a/src/core/hle/kernel/svc.cpp
+++ b/src/core/hle/kernel/svc.cpp
@@ -1776,7 +1776,7 @@ static ResultCode SetThreadCoreMask(Core::System& system, Handle thread_handle,
1776 1776
1777 if (core == OnlyChangeMask) { 1777 if (core == OnlyChangeMask) {
1778 core = thread->GetIdealCore(); 1778 core = thread->GetIdealCore();
1779 } else if (core >= Core::NUM_CPU_CORES && core != static_cast<u32>(-1)) { 1779 } else if (core >= Core::NUM_CPU_CORES && core != static_cast<u32>(THREADPROCESSORID_DONT_UPDATE)) {
1780 LOG_ERROR(Kernel_SVC, "Invalid core specified, got {}", core); 1780 LOG_ERROR(Kernel_SVC, "Invalid core specified, got {}", core);
1781 return ERR_INVALID_PROCESSOR_ID; 1781 return ERR_INVALID_PROCESSOR_ID;
1782 } 1782 }