diff options
| author | 2020-04-21 22:26:10 -0400 | |
|---|---|---|
| committer | 2020-04-21 22:26:10 -0400 | |
| commit | e84f82a028228002b8ac74ac4d351aa40108c653 (patch) | |
| tree | 0bde7e4140ec1bf5ebdfdac352fa947dc779bedd /src/core/gdbstub/gdbstub.cpp | |
| parent | Merge pull request #3714 from lioncash/copies (diff) | |
| parent | gdbstub: Fix some gdbstub jankiness (diff) | |
| download | yuzu-e84f82a028228002b8ac74ac4d351aa40108c653.tar.gz yuzu-e84f82a028228002b8ac74ac4d351aa40108c653.tar.xz yuzu-e84f82a028228002b8ac74ac4d351aa40108c653.zip | |
Merge pull request #3699 from FearlessTobi/port-5185
Port citra-emu/citra#5185: "gdbstub: Fix some gdbstub jankiness"
Diffstat (limited to 'src/core/gdbstub/gdbstub.cpp')
| -rw-r--r-- | src/core/gdbstub/gdbstub.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/core/gdbstub/gdbstub.cpp b/src/core/gdbstub/gdbstub.cpp index 2f15635c5..70c0f8b80 100644 --- a/src/core/gdbstub/gdbstub.cpp +++ b/src/core/gdbstub/gdbstub.cpp | |||
| @@ -1389,10 +1389,9 @@ void SendTrap(Kernel::Thread* thread, int trap) { | |||
| 1389 | return; | 1389 | return; |
| 1390 | } | 1390 | } |
| 1391 | 1391 | ||
| 1392 | if (!halt_loop || current_thread == thread) { | 1392 | current_thread = thread; |
| 1393 | current_thread = thread; | 1393 | SendSignal(thread, trap); |
| 1394 | SendSignal(thread, trap); | 1394 | |
| 1395 | } | ||
| 1396 | halt_loop = true; | 1395 | halt_loop = true; |
| 1397 | send_trap = false; | 1396 | send_trap = false; |
| 1398 | } | 1397 | } |