summaryrefslogtreecommitdiffstats
path: root/src/core/gdbstub/gdbstub.cpp
diff options
context:
space:
mode:
authorGauvain "GovanifY" Roussel-Tarbouriech <gauvain@govanify.com>2020-02-24 14:30:24 +0100
committerFearlessTobi <thm.frey@gmail.com>2020-03-17 11:18:39 +0100
commiteae2ed6b07054a7cb9eca1bc930f4bb9f973a329 (patch)
tree8ec7b863a8ff592cc6d7d44e8a90dd86926c91f0 /src/core/gdbstub/gdbstub.cpp
parentgdbstub: Ensure gdbstub doesn't drop packets crucial to initialization (diff)
downloadyuzu-eae2ed6b07054a7cb9eca1bc930f4bb9f973a329.tar
yuzu-eae2ed6b07054a7cb9eca1bc930f4bb9f973a329.tar.gz
yuzu-eae2ed6b07054a7cb9eca1bc930f4bb9f973a329.tar.bz2
yuzu-eae2ed6b07054a7cb9eca1bc930f4bb9f973a329.tar.lz
yuzu-eae2ed6b07054a7cb9eca1bc930f4bb9f973a329.tar.xz
yuzu-eae2ed6b07054a7cb9eca1bc930f4bb9f973a329.tar.zst
yuzu-eae2ed6b07054a7cb9eca1bc930f4bb9f973a329.zip
Diffstat (limited to '')
-rw-r--r--src/core/gdbstub/gdbstub.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp
index 6ee4df6b5..6d15aeed9 100644
--- a/src/core/gdbstub/gdbstub.cpp
+++ b/src/core/gdbstub/gdbstub.cpp
@@ -1166,8 +1166,10 @@ static void RemoveBreakpoint() {
}
void HandlePacket() {
- if (!IsConnected() && defer_start) {
- ToggleServer(true);
+ if (!IsConnected()) {
+ if (defer_start) {
+ ToggleServer(true);
+ }
return;
}