Added a instant ARAM DMA mode which is enabled automatically when required.

Detects a situation where the game is writing to the dcache at the address being DMA'd. As we do not have dcache emulation, invalid data is being DMA'd causing audio glitches. The following code detects this and enables the DMA to complete instantly before the invalid data is written.
Added accurate ARAM DMA transfer timing.
Removed the addition of DSP exception checking.
This commit is contained in:
skidau
2014-09-27 20:47:29 +10:00
parent 4b37fdfa45
commit 86b6dfe4b3
5 changed files with 67 additions and 27 deletions

View File

@ -13,8 +13,7 @@ namespace JitInterface
{
enum
{
EXCEPTIONS_FIFO_WRITE,
EXCEPTIONS_ARAM_DMA
EXCEPTIONS_FIFO_WRITE
};
void DoState(PointerWrap &p);