mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-09-04 11:45:18 +02:00
More work on AndroidStorageFileSystem.cpp. Fix current directory getting reset.
This commit is contained in:
+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