Remove Immediate variants of ScheduleEvent

Usage of these are replaced with regular equivalents in order
to avoid executing event handlers in the middle of JIT blocks.
This commit is contained in:
JosJuice
2016-07-07 14:23:04 +02:00
parent caa7ff7c25
commit 47c8bb26f8
7 changed files with 4 additions and 33 deletions

View File

@ -464,8 +464,8 @@ static void GenerateDSPInterrupt(u64 DSPIntType, s64 cyclesLate)
// CALLED FROM DSP EMULATOR, POSSIBLY THREADED
void GenerateDSPInterruptFromDSPEmu(DSPInterruptType type)
{
// TODO: Maybe rethink this? ScheduleEvent_Threadsafe_Immediate has unpredictable timing.
CoreTiming::ScheduleEvent_Threadsafe_Immediate(et_GenerateDSPInterrupt, type);
// TODO: Maybe rethink this? The timing is unpredictable.
CoreTiming::ScheduleEvent_AnyThread(0, et_GenerateDSPInterrupt, type);
}
// called whenever SystemTimers thinks the DSP deserves a few more cycles