mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-28 06:06:55 +00:00
kernel/k_affinity_mask: Remove duplicated assert
This is already checked inside GetCoreBit()
This commit is contained in:
parent
2136ebccd6
commit
2f12caccf9
|
@ -31,8 +31,6 @@ public:
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr void SetAffinity(s32 core, bool set) {
|
constexpr void SetAffinity(s32 core, bool set) {
|
||||||
ASSERT(0 <= core && core < static_cast<s32>(Core::Hardware::NUM_CPU_CORES));
|
|
||||||
|
|
||||||
if (set) {
|
if (set) {
|
||||||
this->mask |= GetCoreBit(core);
|
this->mask |= GetCoreBit(core);
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue