Remove the ability to have multiple search paths for config.

This commit is contained in:
Henrik Rydgård committed 2021-05-30 12:45:12 +02:00
1 parent 72915f88c8
commit 239838b6c3
5 files changed
+16 -32

No files matched your search

+2 -3
View File
@@ -539,14 +539,13 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
LogManager::Init(&g_Config.bEnableLogging);
#if !PPSSPP_PLATFORM(WINDOWS)
g_Config.AddSearchPath(Path(user_data_path));
g_Config.AddSearchPath(GetSysDirectory(DIRECTORY_SYSTEM));
g_Config.SetDefaultPath(GetSysDirectory(DIRECTORY_SYSTEM));
g_Config.SetSearchPath(GetSysDirectory(DIRECTORY_SYSTEM));
// Note that if we don't have storage permission here, loading the config will
// fail and it will be set to the default. Later, we load again when we get permission.
g_Config.Load();
#endif
LogManager *logman = LogManager::GetInstance();
#if PPSSPP_PLATFORM(ANDROID)