diff options
author | MerryMage <MerryMage@users.noreply.github.com> | 2020-04-06 22:24:54 +0200 |
---|---|---|
committer | FearlessTobi <thm.frey@gmail.com> | 2020-04-17 05:41:43 +0200 |
commit | 1cc9507bc55059ae82d525f245eeb3b3de873223 (patch) | |
tree | 8ecacedf1228297f6db9856f02abb65c38e87af7 /src | |
parent | Merge pull request #3671 from lioncash/switch (diff) | |
download | yuzu-1cc9507bc55059ae82d525f245eeb3b3de873223.tar yuzu-1cc9507bc55059ae82d525f245eeb3b3de873223.tar.gz yuzu-1cc9507bc55059ae82d525f245eeb3b3de873223.tar.bz2 yuzu-1cc9507bc55059ae82d525f245eeb3b3de873223.tar.lz yuzu-1cc9507bc55059ae82d525f245eeb3b3de873223.tar.xz yuzu-1cc9507bc55059ae82d525f245eeb3b3de873223.tar.zst yuzu-1cc9507bc55059ae82d525f245eeb3b3de873223.zip |
Diffstat (limited to 'src')
-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 6d15aeed9..6f51895b9 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; } |