mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-04 14:02:45 +01:00
gdbstub: small logic bug fix with defer_start
This commit is contained in:
parent
38036eb1c8
commit
eae2ed6b07
1 changed files with 4 additions and 2 deletions
|
@ -1166,8 +1166,10 @@ static void RemoveBreakpoint() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void HandlePacket() {
|
void HandlePacket() {
|
||||||
if (!IsConnected() && defer_start) {
|
if (!IsConnected()) {
|
||||||
ToggleServer(true);
|
if (defer_start) {
|
||||||
|
ToggleServer(true);
|
||||||
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue