mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
Path: Check for PSP case insensitively.
This allows a game to look up ms0:/psp/ eve with the PSP special case path handling.
This commit is contained in:
1 parent
293b5c0cf9
commit
3e73ce87ee
8 files changed
+18
-13
No files matched your search
+1
-1
@@ -180,7 +180,7 @@ IdentifiedFileType Identify_File(FileLoader *fileLoader, std::string *errorStrin
|
||||
// Let's check if we got pointed to a PBP within such a directory.
|
||||
// If so we just move up and return the directory itself as the game.
|
||||
// If loading from memstick...
|
||||
if (fileLoader->GetPath().FilePathContains("PSP/GAME/")) {
|
||||
if (fileLoader->GetPath().FilePathContainsNoCase("PSP/GAME/")) {
|
||||
return IdentifiedFileType::PSP_PBP_DIRECTORY;
|
||||
}
|
||||
return IdentifiedFileType::PSP_PBP;
|
||||
|
||||
Reference in new issue
Block a user