* fixes to GXFIFO IRQ. refine IRQ support a bit.

* fix potential bug when multiple DMAs are running.
This commit is contained in:
StapleButter
2017-03-03 00:48:26 +01:00
parent e0fa57fbf2
commit 2a33a5c480
8 changed files with 63 additions and 48 deletions

View File

@ -451,7 +451,7 @@ void WriteData(u8 val)
}
if (Cnt & (1<<14))
NDS::TriggerIRQ(1, NDS::IRQ_SPI);
NDS::SetIRQ(1, NDS::IRQ_SPI);
}
}