summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-02-04 21:35:44 +0100
committerLioncash <mathew1800@gmail.com>2021-02-04 21:35:46 +0100
commit756365386a9c313c541f959c966909659486b135 (patch)
tree4b5a96cc2678a7c98b8a4f36a06c61f0853804fc /src/core/hle/kernel
parentMerge pull request #5863 from ogniK5377/disable-reverb (diff)
downloadyuzu-756365386a9c313c541f959c966909659486b135.tar
yuzu-756365386a9c313c541f959c966909659486b135.tar.gz
yuzu-756365386a9c313c541f959c966909659486b135.tar.bz2
yuzu-756365386a9c313c541f959c966909659486b135.tar.lz
yuzu-756365386a9c313c541f959c966909659486b135.tar.xz
yuzu-756365386a9c313c541f959c966909659486b135.tar.zst
yuzu-756365386a9c313c541f959c966909659486b135.zip
Diffstat (limited to 'src/core/hle/kernel')
-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) {