mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-19 19:00:09 +02:00
Used a scheduled event to generate the ARAM DMA interrupt if the DMA is greater than a certain size. Fixes NFS:HP2 GC.
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user