DSP: Do updates to DSP interrupt bits asap

This was being scheduled on the next possible event, which caused
timing issues (in FFCC, AI interrupt would fire before DSP interrupt)
This commit is contained in:
booto 2014-08-11 02:04:08 +08:00
parent 92064d1025
commit a4bc15e7ba
1 changed files with 1 additions and 2 deletions

View File

@ -459,8 +459,7 @@ void GenerateDSPInterrupt(DSPInterruptType type, bool _bSet)
// CALLED FROM DSP EMULATOR, POSSIBLY THREADED
void GenerateDSPInterruptFromDSPEmu(DSPInterruptType type, bool _bSet)
{
CoreTiming::ScheduleEvent_Threadsafe(
0, et_GenerateDSPInterrupt, type | (_bSet<<16));
CoreTiming::ScheduleEvent_Threadsafe_Immediate(et_GenerateDSPInterrupt, type | (_bSet<<16));
CoreTiming::ForceExceptionCheck(100);
}