summaryrefslogtreecommitdiffstats
path: root/src/core/gdbstub
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-04-22 04:26:10 +0200
committerGitHub <noreply@github.com>2020-04-22 04:26:10 +0200
commite84f82a028228002b8ac74ac4d351aa40108c653 (patch)
tree0bde7e4140ec1bf5ebdfdac352fa947dc779bedd /src/core/gdbstub
parentMerge pull request #3714 from lioncash/copies (diff)
parentgdbstub: Fix some gdbstub jankiness (diff)
downloadyuzu-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/gdbstub')
-rw-r--r--src/core/gdbstub/gdbstub.cpp7
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;
}