Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
2ndTaleStudio committed Dec 13, 2019
1 parent dce1710 commit 3b57b65
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -297,34 +297,34 @@ fn interrupt_handler() {

if active[2] != 0 {
// IRQ Bank Basic
if active[2] & (1 << 64 - 64) != 0 {
if active[2] & (1 << (64 - 64)) != 0 {
__irq_handler__ArmTimer()
}
if active[2] & (1 << 65 - 64) != 0 {
if active[2] & (1 << (65 - 64)) != 0 {
__irq_handler__ArmMailbox()
}
if active[2] & (1 << 66 - 64) != 0 {
if active[2] & (1 << (66 - 64)) != 0 {
__irq_handler__ArmDoorbell0()
}
if active[2] & (1 << 67 - 64) != 0 {
if active[2] & (1 << (67 - 64)) != 0 {
__irq_handler__ArmDoorbell1()
}
if active[2] & (1 << 68 - 64) != 0 {
if active[2] & (1 << (68 - 64)) != 0 {
__irq_handler__ArmGpu0Halted()
}
if active[2] & (1 << 69 - 64) != 0 {
if active[2] & (1 << (69 - 64)) != 0 {
__irq_handler__ArmGpu1Halted()
}
if active[2] & (1 << 70 - 64) != 0 {
if active[2] & (1 << (70 - 64)) != 0 {
__irq_handler__ArmIllegalType1()
}
if active[2] & (1 << 71 - 64) != 0 {
if active[2] & (1 << (71 - 64)) != 0 {
__irq_handler__ArmIllegalType0()
}
if active[2] & (1 << 72 - 64) != 0 {
if active[2] & (1 << (72 - 64)) != 0 {
__irq_handler__ArmPending1()
}
if active[2] & (1 << 73 - 64) != 0 {
if active[2] & (1 << (73 - 64)) != 0 {
__irq_handler__ArmPending2()
}
}
Expand Down

0 comments on commit 3b57b65

Please sign in to comment.