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:
parent
f12a5101e6
commit
753ac95307
6 changed files with 31 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue