diff options
author | bunnei <bunneidev@gmail.com> | 2020-04-22 04:26:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-22 04:26:10 +0200 |
commit | e84f82a028228002b8ac74ac4d351aa40108c653 (patch) | |
tree | 0bde7e4140ec1bf5ebdfdac352fa947dc779bedd /src/core | |
parent | Merge pull request #3714 from lioncash/copies (diff) | |
parent | gdbstub: Fix some gdbstub jankiness (diff) | |
download | yuzu-e84f82a028228002b8ac74ac4d351aa40108c653.tar yuzu-e84f82a028228002b8ac74ac4d351aa40108c653.tar.gz yuzu-e84f82a028228002b8ac74ac4d351aa40108c653.tar.bz2 yuzu-e84f82a028228002b8ac74ac4d351aa40108c653.tar.lz yuzu-e84f82a028228002b8ac74ac4d351aa40108c653.tar.xz yuzu-e84f82a028228002b8ac74ac4d351aa40108c653.tar.zst yuzu-e84f82a028228002b8ac74ac4d351aa40108c653.zip |
Diffstat (limited to 'src/core')
-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) { return; } - if (!halt_loop || current_thread == thread) { - current_thread = thread; - SendSignal(thread, trap); - } + current_thread = thread; + SendSignal(thread, trap); + halt_loop = true; send_trap = false; } |