Merge pull request #3699 from FearlessTobi/port-5185
Port citra-emu/citra#5185: "gdbstub: Fix some gdbstub jankiness"
This commit is contained in:
commit
e84f82a028
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue