aboutsummaryrefslogtreecommitdiff
path: root/SPI.cpp
diff options
context:
space:
mode:
authorStapleButter <thetotalworm@gmail.com>2017-03-03 00:48:26 +0100
committerStapleButter <thetotalworm@gmail.com>2017-03-03 00:48:26 +0100
commit2a33a5c480f5ac08780c96ed40aa83955814c6d0 (patch)
tree7ece1c58db7648a3eabdc3b85e72f6442b9ec0ac /SPI.cpp
parente0fa57fbf28c0cfa3c38b81b697fa991879844de (diff)
* fixes to GXFIFO IRQ. refine IRQ support a bit.
* fix potential bug when multiple DMAs are running.
Diffstat (limited to 'SPI.cpp')
-rw-r--r--SPI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/SPI.cpp b/SPI.cpp
index 618dcf5..13ab2ab 100644
--- a/SPI.cpp
+++ b/SPI.cpp
@@ -451,7 +451,7 @@ void WriteData(u8 val)
}
if (Cnt & (1<<14))
- NDS::TriggerIRQ(1, NDS::IRQ_SPI);
+ NDS::SetIRQ(1, NDS::IRQ_SPI);
}
}