Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Forced the exception check when the ARAM DMA transfer is between 32 a…
…nd 320 blocks in size. Fixes Lost Kingdoms II.
  • Loading branch information
skidau committed Apr 4, 2013
1 parent 39965e8 commit aaf6c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/Src/HW/DSP.cpp
Expand Up @@ -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
Expand Down

0 comments on commit aaf6c3b

Please sign in to comment.