mirror of
https://gitlab.com/suyu-emu/suyu.git
synced 2024-03-15 23:15:44 +00:00
Merge pull request #7771 from lioncash/assert
kernel/k_affinity_mask: Remove duplicated assert
This commit is contained in:
commit
8dbad556ec
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue