mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Avoid a crash when the recent list contains EBOOTs.
This commit is contained in:
parent
dffb4383c9
commit
742f9c4491
1 changed files with 3 additions and 0 deletions
|
@ -112,6 +112,9 @@ again:
|
|||
// A game can be either an UMD or a directory under ms0:/PSP/GAME .
|
||||
if (startsWith(gamePath, "ms0:/PSP/GAME")) {
|
||||
return 0;
|
||||
// TODO: The case of these extensions is not perfect.
|
||||
} else if (endsWith(gamePath, ".PBP") || endsWith(gamePath, ".elf")) {
|
||||
return 0;
|
||||
} else {
|
||||
SequentialHandleAllocator handles;
|
||||
// Let's assume it's an ISO.
|
||||
|
|
Loading…
Add table
Reference in a new issue