Skip to content

Commit

Permalink
Fix a small inaccuracy in dmaFail, unlikely to have affected anything
Browse files Browse the repository at this point in the history
  • Loading branch information
opa334 committed Dec 13, 2024
1 parent 847ca91 commit bc4e550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application/Dopamine/Exploits/dmaFail/dmaFail.c
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ void dma_ctrl_2(bool flag)
}
}
else {
if ((value & 0x1000000000000000) == 0) {
if ((value & 0x1000000000000000) != 0) {
value &= ~0x1000000000000000;
physwrite64_mapped(ctrl, value);
}
Expand Down

0 comments on commit bc4e550

Please sign in to comment.