mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-23 19:29:05 +02:00
More work on AndroidStorageFileSystem.cpp. Fix current directory getting reset.
This commit is contained in:
1 parent
ef607a5fe2
commit
beb0b4e9f3
8 files changed
+102
-82
No files matched your search
+5
-1
@@ -1240,7 +1240,11 @@ void Config::Load(const char *iniFileName, const char *controllerIniFilename) {
|
||||
});
|
||||
|
||||
iRunCount++;
|
||||
if (!File::Exists(Path(currentDirectory)))
|
||||
|
||||
// TODO: What layer's responsibility is it to handle content:// URIs?
|
||||
// This check is probably not really necessary here anyway, you can always
|
||||
// press Home or Browse if you're in a bad directory.
|
||||
if (!File::Exists(currentDirectory))
|
||||
currentDirectory = defaultCurrentDirectory;
|
||||
|
||||
Section *log = iniFile.GetOrCreateSection(logSectionName);
|
||||
|
||||
Reference in new issue
Block a user