mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-18 20:04:31 +01:00
Config: Move data path settings to Paths.
This commit is contained in:
1 parent
15038bb663
commit
2558022afe
8 files changed
+23
-23
No files matched your search
+2
-2
@@ -605,7 +605,7 @@ Path GetSysDirectory(PSPDirectories directoryType) {
|
||||
return g_Config.memStickDirectory / "PSP/PLUGINS";
|
||||
case DIRECTORY_APP_CACHE:
|
||||
if (!g_Config.appCacheDirectory.empty()) {
|
||||
return Path(g_Config.appCacheDirectory);
|
||||
return g_Config.appCacheDirectory;
|
||||
}
|
||||
return g_Config.memStickDirectory / "PSP/SYSTEM/CACHE";
|
||||
case DIRECTORY_VIDEO:
|
||||
@@ -638,7 +638,7 @@ void InitSysDirectories() {
|
||||
|
||||
#else
|
||||
// Caller sets this to the Documents folder.
|
||||
const Path rootMyDocsPath = Path(g_Config.internalDataDirectory);
|
||||
const Path rootMyDocsPath = g_Config.internalDataDirectory;
|
||||
const Path myDocsPath = rootMyDocsPath / "PPSSPP";
|
||||
const Path installedFile = path / "installed.txt";
|
||||
const bool installed = File::Exists(installedFile);
|
||||
|
||||
Reference in new issue
Block a user