mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
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:
1 parent
533e219862
commit
c7bdeb3084
9 files changed
+77
-57
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user