diff options
| -rw-r--r-- | libpcsxcore/psxinterpreter.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libpcsxcore/psxinterpreter.c b/libpcsxcore/psxinterpreter.c index 0066b7c7..ae100cb9 100644 --- a/libpcsxcore/psxinterpreter.c +++ b/libpcsxcore/psxinterpreter.c @@ -1210,6 +1210,8 @@ static void process_gdb(void) { static int step, must_continue; struct msg msg; +start: + if (shutdown) return; @@ -1243,8 +1245,8 @@ static void process_gdb(void) { out.type = MSG_TYPE_ACK; gdbstub_sys_send(&out); + goto start; } - break; case MSG_TYPE_BREAKPOINT: { struct msg out; @@ -1253,8 +1255,8 @@ static void process_gdb(void) { out.type = MSG_TYPE_ACK; gdbstub_sys_send(&out); + goto start; } - break; case MSG_TYPE_SHUTDOWN: shutdown = 1; |
