Eliminate GetSysDirectories and instead provide a new function: GetSysDirectory.

On Win32, call InitSysDirectories before the emuthread starts just to be safe.
This commit is contained in:
The Dax committed 2013-10-15 03:41:10 -04:00
1 parent 533e219862
commit c7bdeb3084
9 files changed
+77 -57

No files matched your search

-6
View File
@@ -367,12 +367,6 @@ void NativeInit(int argc, const char *argv[],
if (!gfxLog)
logman->SetLogLevel(LogTypes::G3D, LogTypes::LERROR);
INFO_LOG(BOOT, "Logger inited.");
#else
if (g_Config.currentDirectory.empty()) {
g_Config.currentDirectory = ConvertWStringToUTF8(File::GetExeDirectory());
}
// TODO: Is this even needed, when PPSSPP uses GetSysDirectories in multiple other places?
g_Config.memCardDirectory = "memstick/";
#endif
i18nrepo.LoadIni(g_Config.sLanguageIni);