summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-10-12 16:55:34 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-15 17:55:30 +0200
commit64e652d8cbcc4cc67442879ab7e379d62b72703c (patch)
tree6ee9451f7ce8e249d42ee14f4b8aa4c21e7324f3 /src/core/hle/kernel/thread.cpp
parentKernel: Address Feedback 2 (diff)
downloadyuzu-64e652d8cbcc4cc67442879ab7e379d62b72703c.tar
yuzu-64e652d8cbcc4cc67442879ab7e379d62b72703c.tar.gz
yuzu-64e652d8cbcc4cc67442879ab7e379d62b72703c.tar.bz2
yuzu-64e652d8cbcc4cc67442879ab7e379d62b72703c.tar.lz
yuzu-64e652d8cbcc4cc67442879ab7e379d62b72703c.tar.xz
yuzu-64e652d8cbcc4cc67442879ab7e379d62b72703c.tar.zst
yuzu-64e652d8cbcc4cc67442879ab7e379d62b72703c.zip
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r--src/core/hle/kernel/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index aeb20b24b..962530d2d 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -410,7 +410,7 @@ ResultCode Thread::SetCoreAndAffinityMask(s32 new_core, u64 new_affinity_mask) {
};
const bool use_override = affinity_override_count != 0;
- if (new_core == THREADDONTCHANGE_IDEAL) {
+ if (new_core == THREADPROCESSORID_DONT_UPDATE) {
new_core = use_override ? ideal_core_override : ideal_core;
if ((new_affinity_mask & (1ULL << new_core)) == 0) {
return ERR_INVALID_COMBINATION;