summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-02-04 23:44:11 +0100
committerGitHub <noreply@github.com>2021-02-04 23:44:11 +0100
commit00cb631b2fd57568c6585273a71ac0d522b1cf63 (patch)
tree98d276869512df34374af5f463eceb1cead8b5b2 /src
parentMerge pull request #5874 from Morph1984/create-keys-dir (diff)
parentk_affinity_mask: Avoid implicit truncation to bool (diff)
downloadyuzu-00cb631b2fd57568c6585273a71ac0d522b1cf63.tar
yuzu-00cb631b2fd57568c6585273a71ac0d522b1cf63.tar.gz
yuzu-00cb631b2fd57568c6585273a71ac0d522b1cf63.tar.bz2
yuzu-00cb631b2fd57568c6585273a71ac0d522b1cf63.tar.lz
yuzu-00cb631b2fd57568c6585273a71ac0d522b1cf63.tar.xz
yuzu-00cb631b2fd57568c6585273a71ac0d522b1cf63.tar.zst
yuzu-00cb631b2fd57568c6585273a71ac0d522b1cf63.zip
Diffstat (limited to 'src')
-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) {