Merge pull request #3699 from FearlessTobi/port-5185

Port citra-emu/citra#5185: "gdbstub: Fix some gdbstub jankiness"
merge-requests/60/head
bunnei 2020-04-21 22:26:10 +07:00 committed by GitHub
commit e84f82a028
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 4 deletions

@ -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;
}