Don't write files before creating the directory in the first place.

This commit is contained in:
The Dax committed 2013-10-14 17:28:27 -04:00
1 parent be97799a6e
commit 22e7b64df3
2 files changed
+13 -5

No files matched your search

+2 -1
View File
@@ -371,7 +371,8 @@ void NativeInit(int argc, const char *argv[],
if (g_Config.currentDirectory.empty()) {
g_Config.currentDirectory = ConvertWStringToUTF8(File::GetExeDirectory());
}
g_Config.memCardDirectory = "MemStick/";
// TODO: Is this even needed, when PPSSPP uses GetSysDirectories in multiple other places?
g_Config.memCardDirectory = "memstick/";
#endif
i18nrepo.LoadIni(g_Config.sLanguageIni);