diff --git a/Core/HLE/sceGe.cpp b/Core/HLE/sceGe.cpp index b9d932a934..288f80aa4b 100644 --- a/Core/HLE/sceGe.cpp +++ b/Core/HLE/sceGe.cpp @@ -145,7 +145,8 @@ public: // Hm. This might be really tricky to get to behave the same in both modes. Here we are in __KernelReschedule, CoreTiming::Advance, ProcessEvents, GeExecuteInterrupt, ... .... __RunOnePendingInterrupt // But not sure how much it will matter. The test pause2 hits here. - gpu->ProcessDLQueue(); + DLResult result = gpu->ProcessDLQueue(); + _dbg_assert_(result != DLResult::DebugBreak); return false; } @@ -184,8 +185,16 @@ public: // TODO: This is called from __KernelReturnFromInterrupt which does a bunch of stuff afterwards. // Using hleSplitSyscallOverGe here breaks the gpu/signals/suspend.prx test, for that reason. - // So we just process inline and sacrifice debuggability a little. - gpu->ProcessDLQueue(); + // However, it's still useful when debugging, and I believe the scheduling difference is quite insignificant - + // we are already being extremely inaccurate by blasting the full display list here instead of running + // it in the background in parallel with the CPU. + // So, when debugging is active, we'll just use hleSplitSyscallOverGe. + if (gpu->ShouldSplitOverGe()) { + hleSplitSyscallOverGe(); + } else { + DLResult result = gpu->ProcessDLQueue(); + _dbg_assert_(result != DLResult::DebugBreak); + } } }; diff --git a/GPU/GPUCommonHW.cpp b/GPU/GPUCommonHW.cpp index 40a465276c..4db8f3bd87 100644 --- a/GPU/GPUCommonHW.cpp +++ b/GPU/GPUCommonHW.cpp @@ -1067,8 +1067,8 @@ void GPUCommonHW::Execute_Prim(u32 op, u32 diff) { uint32_t vtypeCheckMask = g_Config.bSoftwareSkinning ? (~GE_VTYPE_WEIGHTCOUNT_MASK) : 0xFFFFFFFF; - if (debugRecording_) - goto bail; + if (!useFastRunLoop_) + goto bail; // we're either recording or stepping. while (src != stall) { uint32_t data = *src;