Skip to content

Commit

Permalink
Used a scheduled event to generate the ARAM DMA interrupt if the DMA …
Browse files Browse the repository at this point in the history
…is greater than a certain size. Fixes NFS:HP2 GC.
  • Loading branch information
skidau committed Mar 6, 2013
1 parent 61b0147 commit 0f1ef49
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()
if (!GetDSPEmulator()->IsLLE())
g_dspState.DSPControl.DMAState = 1;

if (g_arDMA.Cnt.dir)
if (g_arDMA.Cnt.dir || g_arDMA.Cnt.count > 10240)
CoreTiming::ScheduleEvent_Threadsafe(0, et_GenerateDSPInterrupt, INT_ARAM | (1<<16));
else
GenerateDSPInterrupt(INT_ARAM);
Expand Down

0 comments on commit 0f1ef49

Please sign in to comment.