mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-14 06:50:29 +02: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
+2
-2
@@ -596,9 +596,9 @@ CoreParameter &PSP_CoreParameter() {
|
||||
}
|
||||
|
||||
Path GetSysDirectory(PSPDirectories directoryType) {
|
||||
Path memStickDirectory = g_Config.memStickDirectory;
|
||||
const Path &memStickDirectory = g_Config.memStickDirectory;
|
||||
Path pspDirectory;
|
||||
if (memStickDirectory.GetFilename() == "PSP") {
|
||||
if (!strcasecmp(memStickDirectory.GetFilename().c_str(), "PSP")) {
|
||||
// Let's strip this off, to easily allow choosing a root directory named "PSP" on Android.
|
||||
pspDirectory = memStickDirectory;
|
||||
} else {
|
||||
|
||||
Reference in new issue
Block a user