From a4bc15e7ba42933c0727948a301b9d8ab98dc68d Mon Sep 17 00:00:00 2001 From: booto Date: Mon, 11 Aug 2014 02:04:08 +0800 Subject: [PATCH] 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) --- Source/Core/Core/HW/DSP.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/Core/Core/HW/DSP.cpp b/Source/Core/Core/HW/DSP.cpp index 273e7ec76f..01dce2e1b3 100644 --- a/Source/Core/Core/HW/DSP.cpp +++ b/Source/Core/Core/HW/DSP.cpp @@ -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); }