Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Adjusted the ARAM DMA transfer size again. Fixes the audio in the Son…
…ic Mega Collection games.
  • Loading branch information
skidau committed Apr 6, 2013
1 parent ee163d1 commit 518e7a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/Core/Src/HW/DSP.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 518e7a7

Please sign in to comment.