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:
Unknown W. Brackets committed 2021-12-16 15:06:15 -08:00
1 parent 293b5c0cf9
commit 3e73ce87ee
8 files changed
+18 -13

No files matched your search

+1 -1
View File
@@ -390,7 +390,7 @@ public:
// Assuming PSP_PBP_DIRECTORY without ID or with disc_total < 1 in GAME dir must be homebrew
if ((info_->id.empty() || !info_->disc_total)
&& gamePath_.FilePathContains("PSP/GAME/")
&& gamePath_.FilePathContainsNoCase("PSP/GAME/")
&& info_->fileType == IdentifiedFileType::PSP_PBP_DIRECTORY) {
info_->id = g_paramSFO.GenerateFakeID(gamePath_.ToString());
info_->id_version = info_->id + "_1.00";