summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-01-25 22:15:18 +0100
committerGitHub <noreply@github.com>2022-01-25 22:15:18 +0100
commit8dbad556ec84bafa7ea1b06d1f237a56c6e6f029 (patch)
treefeb0b31840d7c95e754b76eda6bc455eb886b50c /src
parentMerge pull request #7765 from bunnei/update-thread-count (diff)
parentkernel/k_affinity_mask: Remove duplicated assert (diff)
downloadyuzu-8dbad556ec84bafa7ea1b06d1f237a56c6e6f029.tar
yuzu-8dbad556ec84bafa7ea1b06d1f237a56c6e6f029.tar.gz
yuzu-8dbad556ec84bafa7ea1b06d1f237a56c6e6f029.tar.bz2
yuzu-8dbad556ec84bafa7ea1b06d1f237a56c6e6f029.tar.lz
yuzu-8dbad556ec84bafa7ea1b06d1f237a56c6e6f029.tar.xz
yuzu-8dbad556ec84bafa7ea1b06d1f237a56c6e6f029.tar.zst
yuzu-8dbad556ec84bafa7ea1b06d1f237a56c6e6f029.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/k_affinity_mask.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_affinity_mask.h b/src/core/hle/kernel/k_affinity_mask.h
index b906895fc..cf704ce87 100644
--- a/src/core/hle/kernel/k_affinity_mask.h
+++ b/src/core/hle/kernel/k_affinity_mask.h
@@ -31,8 +31,6 @@ public:
}
constexpr void SetAffinity(s32 core, bool set) {
- ASSERT(0 <= core && core < static_cast<s32>(Core::Hardware::NUM_CPU_CORES));
-
if (set) {
this->mask |= GetCoreBit(core);
} else {