summaryrefslogtreecommitdiff
path: root/games-emulation/mgba/files/mgba-0.11.0_pre20260101-debugger.patch
blob: 793214c08431b76961e63817c3880255486187b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Just a quick fix for USE="gui -debug", haven't spent time on this.
--- a/src/platform/qt/scripting/ScriptingController.cpp
+++ b/src/platform/qt/scripting/ScriptingController.cpp
@@ -87,6 +87,8 @@
 	if (m_controller->hasStarted()) {
 		attach();
+#ifdef ENABLE_DEBUGGERS
 	} else {
 		m_controller->attachDebugger(false);
+#endif
 	}
 	updateVideoScale();