summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_affinity_mask.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/k_affinity_mask.h')
-rw-r--r--src/core/hle/kernel/k_affinity_mask.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_affinity_mask.h b/src/core/hle/kernel/k_affinity_mask.h
index dd73781cd..b906895fc 100644
--- a/src/core/hle/kernel/k_affinity_mask.h
+++ b/src/core/hle/kernel/k_affinity_mask.h
@@ -27,7 +27,7 @@ public:
}
[[nodiscard]] constexpr bool GetAffinity(s32 core) const {
- return this->mask & GetCoreBit(core);
+ return (this->mask & GetCoreBit(core)) != 0;
}
constexpr void SetAffinity(s32 core, bool set) {