Debugger: Fix game.reset by adding a reboot status.

We don't want EmuScreen to auto-exit, and we don't want to double-lock the
debugger lifecycle lock.  Let's just handle reboot specifically.
This commit is contained in:
Unknown W. Brackets committed 2022-10-01 18:13:22 -07:00
1 parent f12a5101e6
commit 753ac95307
6 files changed
+31 -6

No files matched your search

+4
View File
@@ -97,6 +97,10 @@ static void UpdateConnected(int delta) {
}
static void WebSocketNotifyLifecycle(CoreLifecycle stage) {
// We'll likely already be locked during the reboot.
if (PSP_IsRebooting())
return;
switch (stage) {
case CoreLifecycle::STARTING:
case CoreLifecycle::STOPPING: