mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
fix for crash opening directory
This commit is contained in:
parent
912cbd7368
commit
0653946acb
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ void EmuScreen::sendMessage(const char *message, const char *value) {
|
|||
}
|
||||
} else if (!strcmp(message, "boot")) {
|
||||
const char *ext = strrchr(value, '.');
|
||||
if (!strcmp(ext, ".ppst")) {
|
||||
if (ext != nullptr && !strcmp(ext, ".ppst")) {
|
||||
SaveState::Load(value, &AfterStateLoad);
|
||||
} else {
|
||||
PSP_Shutdown();
|
||||
|
|
Loading…
Add table
Reference in a new issue