diff options
| author | 2020-02-24 14:30:24 +0100 | |
|---|---|---|
| committer | 2020-03-17 11:18:39 +0100 | |
| commit | eae2ed6b07054a7cb9eca1bc930f4bb9f973a329 (patch) | |
| tree | 8ec7b863a8ff592cc6d7d44e8a90dd86926c91f0 /src/core/gdbstub/gdbstub.cpp | |
| parent | gdbstub: Ensure gdbstub doesn't drop packets crucial to initialization (diff) | |
| download | yuzu-eae2ed6b07054a7cb9eca1bc930f4bb9f973a329.tar.gz yuzu-eae2ed6b07054a7cb9eca1bc930f4bb9f973a329.tar.xz yuzu-eae2ed6b07054a7cb9eca1bc930f4bb9f973a329.zip | |
gdbstub: small logic bug fix with defer_start
Diffstat (limited to 'src/core/gdbstub/gdbstub.cpp')
| -rw-r--r-- | src/core/gdbstub/gdbstub.cpp | 6 |
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() { | |||
| 1166 | } | 1166 | } |
| 1167 | 1167 | ||
| 1168 | void HandlePacket() { | 1168 | void HandlePacket() { |
| 1169 | if (!IsConnected() && defer_start) { | 1169 | if (!IsConnected()) { |
| 1170 | ToggleServer(true); | 1170 | if (defer_start) { |
| 1171 | ToggleServer(true); | ||
| 1172 | } | ||
| 1171 | return; | 1173 | return; |
| 1172 | } | 1174 | } |
| 1173 | 1175 | ||