From 3a6492d3a9882218bc3a6c77d9c42e8b5adf0438 Mon Sep 17 00:00:00 2001 From: skidau Date: Thu, 18 Apr 2013 23:11:18 +1000 Subject: [PATCH] Tweaked the aram dma exception timing to fix the hang that occurred in Viewtiful Joe. --- Source/Core/Core/Src/HW/DSP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/Src/HW/DSP.cpp b/Source/Core/Core/Src/HW/DSP.cpp index 65fccb9124..809128225e 100644 --- a/Source/Core/Core/Src/HW/DSP.cpp +++ b/Source/Core/Core/Src/HW/DSP.cpp @@ -691,7 +691,7 @@ void Do_ARAM_DMA() CoreTiming::ScheduleEvent_Threadsafe(0, et_GenerateDSPInterrupt, INT_ARAM | (1<<16)); // Force an early exception check on large transfers. Fixes RE2 audio. - if (g_arDMA.Cnt.count > 2048 && g_arDMA.Cnt.count <= 10240) + if (g_arDMA.Cnt.count > 2048 && g_arDMA.Cnt.count <= 6144) CoreTiming::ForceExceptionCheck(100); // Real hardware DMAs in 32byte chunks, but we can get by with 8byte chunks