mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
On desktop, change an empty current directory to "/" on startup.
Just avoids some confusion.
This commit is contained in:
parent
b6e7fe1aaf
commit
98cd023cf9
1 changed files with 6 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue