mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-12-01 02:03:47 +01:00
Workaround for GE debugging in Syphon Filter. Fix some stepping misbehavior.
This commit is contained in:
1 parent
b73075f33c
commit
c073b449a1
2 files changed
+14
-5
No files matched your search
+12
-3
@@ -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);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user