gsdump: disable renderer switch keybind on debug

This commit is contained in:
Gauvain 'GovanifY' Roussel-Tarbouriech 2021-03-14 17:30:43 +01:00 committed by Kojin
parent cf46e52035
commit d5b312866d
1 changed files with 3 additions and 0 deletions

View File

@ -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));