mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-29 01:03:41 +01:00
On desktop, change an empty current directory to "/" on startup.
Just avoids some confusion.
This commit is contained in:
1 parent
b6e7fe1aaf
commit
98cd023cf9
1 file changed
+6
@@ -592,6 +592,12 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
}
|
||||
#endif
|
||||
|
||||
#if (PPSSPP_PLATFORM(WINDOWS) && !PPSSPP_PLATFORM(UWP)) || PPSSPP_PLATFORM(MAC)
|
||||
if (g_Config.currentDirectory.empty()) {
|
||||
g_Config.currentDirectory = Path("/");
|
||||
}
|
||||
#endif
|
||||
|
||||
if (cache_dir && strlen(cache_dir)) {
|
||||
g_Config.appCacheDirectory = Path(cache_dir);
|
||||
DiskCachingFileLoaderCache::SetCacheDir(g_Config.appCacheDirectory);
|
||||
|
||||
Reference in new issue
Block a user