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 committed 2016-08-10 16:34:06 +02:00
1 parent caa7ff7c25
commit 47c8bb26f8
7 files changed
+4 -33

No files matched your search

+2 -2
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