diff options
| author | skidau <skidau@gmail.com> | 2013-04-04 22:38:39 +1100 |
|---|---|---|
| committer | skidau <skidau@gmail.com> | 2013-04-04 22:38:39 +1100 |
| commit | aaf6c3b753ecd46d022bea15ef90eb0b68103a99 (patch) | |
| tree | 194d18776d7d75224a70d01d0a86750fb15345ef /Source/Core | |
| parent | 39965e894d2d014cd4b872e071ea57fd1a69e11c (diff) | |
Forced the exception check when the ARAM DMA transfer is between 32 and 320 blocks in size. Fixes Lost Kingdoms II.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/HW/DSP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Core/Src/HW/DSP.cpp b/Source/Core/Core/Src/HW/DSP.cpp index b86ca3a170..7f9330a554 100644 --- a/Source/Core/Core/Src/HW/DSP.cpp +++ b/Source/Core/Core/Src/HW/DSP.cpp @@ -697,7 +697,7 @@ void Do_ARAM_DMA() CoreTiming::ScheduleEvent_Threadsafe(0, et_GenerateDSPInterrupt, INT_ARAM | (1<<16)); // Force an early exception check. Fixes RE2 audio. - if (g_arDMA.Cnt.count == 4096) + if (g_arDMA.Cnt.count >= 1024 && g_arDMA.Cnt.count <= 10240) CoreTiming::ForceExceptionCheck(100); // Real hardware DMAs in 32byte chunks, but we can get by with 8byte chunks |
