summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/thread.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-11-17 06:02:45 +0100
committerbunnei <bunneidev@gmail.com>2020-12-06 09:03:24 +0100
commite18ee8d681bf05e8c1480dd1ad7133778ead773d (patch)
treefd319df94f2fd26d621d1b14fc5c57d7cb567d9e /src/core/hle/kernel/thread.h
parentMerge pull request #5133 from lioncash/video-shadow2 (diff)
downloadyuzu-e18ee8d681bf05e8c1480dd1ad7133778ead773d.tar
yuzu-e18ee8d681bf05e8c1480dd1ad7133778ead773d.tar.gz
yuzu-e18ee8d681bf05e8c1480dd1ad7133778ead773d.tar.bz2
yuzu-e18ee8d681bf05e8c1480dd1ad7133778ead773d.tar.lz
yuzu-e18ee8d681bf05e8c1480dd1ad7133778ead773d.tar.xz
yuzu-e18ee8d681bf05e8c1480dd1ad7133778ead773d.tar.zst
yuzu-e18ee8d681bf05e8c1480dd1ad7133778ead773d.zip
Diffstat (limited to 'src/core/hle/kernel/thread.h')
-rw-r--r--src/core/hle/kernel/thread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h
index a75071e9b..5192ecff1 100644
--- a/src/core/hle/kernel/thread.h
+++ b/src/core/hle/kernel/thread.h
@@ -12,6 +12,7 @@
#include "common/common_types.h"
#include "common/spin_lock.h"
#include "core/arm/arm_interface.h"
+#include "core/hle/kernel/k_affinity_mask.h"
#include "core/hle/kernel/object.h"
#include "core/hle/kernel/synchronization_object.h"
#include "core/hle/result.h"
@@ -469,7 +470,7 @@ public:
return ideal_core;
}
- u64 GetAffinityMask() const {
+ constexpr const KAffinityMask& GetAffinityMask() const {
return affinity_mask;
}
@@ -649,10 +650,9 @@ private:
Scheduler* scheduler = nullptr;
u32 ideal_core{0xFFFFFFFF};
- u64 affinity_mask{0x1};
+ KAffinityMask affinity_mask{};
s32 ideal_core_override = -1;
- u64 affinity_mask_override = 0x1;
u32 affinity_override_count = 0;
u32 scheduling_state = 0;