mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Fix some spurious resets on stopping a game.
This commit is contained in:
parent
233f13bb8e
commit
bfa02f8fa1
1 changed files with 2 additions and 0 deletions
|
@ -173,9 +173,11 @@ void EmuScreen::sendMessage(const char *message, const char *value) {
|
|||
// We will push MainScreen in update().
|
||||
PSP_Shutdown();
|
||||
booted_ = false;
|
||||
invalid_ = true;
|
||||
} else if (!strcmp(message, "reset")) {
|
||||
PSP_Shutdown();
|
||||
booted_ = false;
|
||||
invalid_ = true;
|
||||
std::string resetError;
|
||||
if (!PSP_InitStart(PSP_CoreParameter(), &resetError)) {
|
||||
ELOG("Error resetting: %s", resetError.c_str());
|
||||
|
|
Loading…
Add table
Reference in a new issue