From 518e7a763594909344170b50df891f0b0ef8c719 Mon Sep 17 00:00:00 2001 From: skidau Date: Sat, 6 Apr 2013 11:52:00 +1100 Subject: [PATCH] Adjusted the ARAM DMA transfer size again. Fixes the audio in the Sonic Mega Collection games. --- Source/Core/Core/Src/HW/DSP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/Src/HW/DSP.cpp b/Source/Core/Core/Src/HW/DSP.cpp index 7f9330a554..a24c8920af 100644 --- a/Source/Core/Core/Src/HW/DSP.cpp +++ b/Source/Core/Core/Src/HW/DSP.cpp @@ -696,8 +696,8 @@ void Do_ARAM_DMA() g_dspState.DSPControl.DMAState = 1; CoreTiming::ScheduleEvent_Threadsafe(0, et_GenerateDSPInterrupt, INT_ARAM | (1<<16)); - // Force an early exception check. Fixes RE2 audio. - if (g_arDMA.Cnt.count >= 1024 && g_arDMA.Cnt.count <= 10240) + // Force an early exception check on large transfers. Fixes RE2 audio. + if (g_arDMA.Cnt.count > 2048 && g_arDMA.Cnt.count <= 10240) CoreTiming::ForceExceptionCheck(100); // Real hardware DMAs in 32byte chunks, but we can get by with 8byte chunks