From d5b312866daf67ad910afc4f3f5bc5579c4190e5 Mon Sep 17 00:00:00 2001 From: Gauvain 'GovanifY' Roussel-Tarbouriech Date: Sun, 14 Mar 2021 17:30:43 +0100 Subject: [PATCH] gsdump: disable renderer switch keybind on debug --- pcsx2/gui/GlobalCommands.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pcsx2/gui/GlobalCommands.cpp b/pcsx2/gui/GlobalCommands.cpp index 08a8dd3c51..a690a31fd0 100644 --- a/pcsx2/gui/GlobalCommands.cpp +++ b/pcsx2/gui/GlobalCommands.cpp @@ -33,6 +33,7 @@ #include "DebugTools/Debug.h" #include "R3000A.h" #include "SPU2/spu2.h" +#include "gui/Dialogs/ModalPopups.h" // renderswitch - tells GSdx to go into dx9 sw if "renderswitch" is set. bool renderswitch = false; @@ -395,6 +396,8 @@ namespace Implementations void Sys_RenderToggle() { + if (GSDump::isRunning) + return; if (renderswitch_delay == 0) { ScopedCoreThreadPause paused_core(new SysExecEvent_SaveSinglePlugin(PluginId_GS));