Merge pull request #3699 from FearlessTobi/port-5185

Port citra-emu/citra#5185: "gdbstub: Fix some gdbstub jankiness"
This commit is contained in:
bunnei 2020-04-21 22:26:10 -04:00 committed by GitHub
commit e84f82a028
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1389,10 +1389,9 @@ void SendTrap(Kernel::Thread* thread, int trap) {
return; return;
} }
if (!halt_loop || current_thread == thread) { current_thread = thread;
current_thread = thread; SendSignal(thread, trap);
SendSignal(thread, trap);
}
halt_loop = true; halt_loop = true;
send_trap = false; send_trap = false;
} }