mirror of
https://github.com/Atmosphere-NX/Atmosphere-libs.git
synced 2025-06-22 11:32:38 +02:00
kern: tidy up capability calc
This commit is contained in:
parent
0a4c2759a1
commit
f6c9839eae
@ -222,7 +222,6 @@ namespace ams::kern {
|
|||||||
}
|
}
|
||||||
|
|
||||||
constexpr bool SetInterruptPermitted(u32 id) {
|
constexpr bool SetInterruptPermitted(u32 id) {
|
||||||
constexpr size_t BitsPerWord = BITSIZEOF(m_irq_access_flags[0]);
|
|
||||||
if (AMS_LIKELY(id < m_irq_access_flags.GetCount())) {
|
if (AMS_LIKELY(id < m_irq_access_flags.GetCount())) {
|
||||||
m_irq_access_flags[id] = true;
|
m_irq_access_flags[id] = true;
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user