From 3d71e310c0277c41ac731061996798d1b5e8f623 Mon Sep 17 00:00:00 2001 From: TJnotJT Date: Wed, 29 Apr 2026 19:55:12 -0400 Subject: [PATCH] GSRunner: Add -debugdevice command line parameter. --- pcsx2-gsrunner/Main.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pcsx2-gsrunner/Main.cpp b/pcsx2-gsrunner/Main.cpp index e7a377f239..375985c848 100644 --- a/pcsx2-gsrunner/Main.cpp +++ b/pcsx2-gsrunner/Main.cpp @@ -799,6 +799,12 @@ bool GSRunner::ParseCommandLineArgs(int argc, char* argv[], VMBootParameters& pa s_perf_enable = true; continue; } + else if (CHECK_ARG("-debugdevice")) + { + Console.WriteLn("Enable debug device"); + s_settings_interface.SetBoolValue("EmuCore/GS", "UseDebugDevice", true); + continue; + } else if (CHECK_ARG("--")) { no_more_args = true;