diff options
author | bunnei <bunneidev@gmail.com> | 2021-02-04 23:44:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-04 23:44:11 +0100 |
commit | 00cb631b2fd57568c6585273a71ac0d522b1cf63 (patch) | |
tree | 98d276869512df34374af5f463eceb1cead8b5b2 /src | |
parent | Merge pull request #5874 from Morph1984/create-keys-dir (diff) | |
parent | k_affinity_mask: Avoid implicit truncation to bool (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/core/hle/kernel/k_affinity_mask.h | 2 |
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) { |