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 2022-10-01 18:13:22 -07:00
parent f12a5101e6
commit 753ac95307
6 changed files with 31 additions and 6 deletions

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: