1
0
Fork 0
mirror of https://github.com/Atmosphere-NX/Atmosphere.git synced 2024-11-15 00:16:48 +00:00

thermosphere: honor irq config for ppis

This commit is contained in:
TuxSH 2020-01-03 01:57:57 +00:00
parent 7130b6efd1
commit 76a5e745e4

View file

@ -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;
} }