From 37f61bff5d8ee79bb37019824fa701cd04623738 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Tue, 3 Dec 2024 13:31:56 +0100 Subject: [PATCH] Remove unused code. Activate split syscalls (for Ge stepping) when the Ge debugger is "active" --- GPU/GPUCommon.cpp | 6 +++--- GPU/GPUDefinitions.h | 15 --------------- 2 files changed, 3 insertions(+), 18 deletions(-) diff --git a/GPU/GPUCommon.cpp b/GPU/GPUCommon.cpp index 65a9e735f8..387a748e88 100644 --- a/GPU/GPUCommon.cpp +++ b/GPU/GPUCommon.cpp @@ -891,9 +891,9 @@ DLResult GPUCommon::ProcessDLQueue() { } bool GPUCommon::ShouldSplitOverGe() const { - // TODO: Should check for debugger active, etc. - // We only need to do this if we want to step through Ge display lists using the Ge debuggers. - return false; + // Check for debugger active, etc. + // We only need to do this if we want to be able to step through Ge display lists using the Ge debuggers. + return GPUDebug::IsActive() || g_Config.bShowImDebugger; } void GPUCommon::Execute_OffsetAddr(u32 op, u32 diff) { diff --git a/GPU/GPUDefinitions.h b/GPU/GPUDefinitions.h index d7f1a56aa6..f7d94cfe1b 100644 --- a/GPU/GPUDefinitions.h +++ b/GPU/GPUDefinitions.h @@ -59,21 +59,6 @@ enum GPUInvalidationType { GPU_INVALIDATE_FORCE, }; -enum class DLRunType { - Run, - RunDebug, - Step, -}; - -enum class DLStepType { - None, - Single, - Prim, - Draw, - Texture, - Rendertarget, -}; - enum class DLResult { Done, Error,