mirror of
https://github.com/Atmosphere-NX/Atmosphere
synced 2024-12-23 04:41:12 +00:00
thermosphere: honor irq config for ppis
This commit is contained in:
parent
7130b6efd1
commit
76a5e745e4
1 changed files with 0 additions and 2 deletions
|
@ -226,8 +226,6 @@ static inline bool vgicIsVirqEdgeTriggered(u16 id)
|
||||||
|
|
||||||
if (id < 16) {
|
if (id < 16) {
|
||||||
return true;
|
return true;
|
||||||
} else if (id < 32) {
|
|
||||||
return false;
|
|
||||||
} else {
|
} else {
|
||||||
return (g_irqManager.gic.gicd->icfgr[id / 16] & (2 << (id % 16))) != 0;
|
return (g_irqManager.gic.gicd->icfgr[id / 16] & (2 << (id % 16))) != 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue