diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2020-06-08 00:21:35 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2020-06-08 00:21:35 +0200 |
| commit | 5676534ec1452864f8fac1de2f494195ebe5908b (patch) | |
| tree | b3cb0a80556723226d4a0f07d1647460c5f06865 /gui | |
| parent | aa89de282b092a6ffd5995add48ee366a1ead119 (diff) | |
| download | pcsxr-5676534ec1452864f8fac1de2f494195ebe5908b.tar.gz | |
Attempt to make gdb server to exit gracefully
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/LnxMain.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gui/LnxMain.c b/gui/LnxMain.c index 2e087ee3..4af1100d 100644 --- a/gui/LnxMain.c +++ b/gui/LnxMain.c @@ -466,8 +466,6 @@ int main(int argc, char *argv[]) { psxCpu->Execute(); } - if (Config.GdbServer) dbg_stop(); - return 0; } @@ -515,6 +513,7 @@ void SysClose() { ReleasePlugins(); StopDebugger(); + if (Config.GdbServer) dbg_stop(); if (emuLog != NULL) fclose(emuLog); } |
