mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-10 21:16:24 +02:00
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:
1 parent
f12a5101e6
commit
753ac95307
6 files changed
+31
-6
No files matched your search
@@ -49,9 +49,8 @@ void WebSocketGameReset(DebuggerRequest &req) {
|
||||
if (needBreak)
|
||||
PSP_CoreParameter().startBreak = true;
|
||||
|
||||
PSP_Shutdown();
|
||||
std::string resetError;
|
||||
if (!PSP_Init(PSP_CoreParameter(), &resetError)) {
|
||||
if (!PSP_Reboot(&resetError)) {
|
||||
ERROR_LOG(BOOT, "Error resetting: %s", resetError.c_str());
|
||||
return req.Fail("Could not reset");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user