aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE
diff options
context:
space:
mode:
authormageven <62494521+mageven@users.noreply.github.com>2021-03-16 02:40:36 +0530
committerGitHub <noreply@github.com>2021-03-15 22:10:36 +0100
commite44850fed42489f96aaa53b4a56020b8d7f9f736 (patch)
tree9221caa7b5a04d98a97efee951ba348ec0324f1e /Ryujinx.HLE
parent88d07080612ad3dd12d99ddbdfee33406ea7c8be (diff)
Implement friendlier portable mode (#1885)
* Implement friendlier portable mode * Remove first run dialog * Disable updates in portable mode for now * Convert relative custom paths to absolute ones Also, fix a regression when custom path doesn't exist
Diffstat (limited to 'Ryujinx.HLE')
-rw-r--r--Ryujinx.HLE/FileSystem/VirtualFileSystem.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs b/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs
index 4ba5df00..ff3232c2 100644
--- a/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs
+++ b/Ryujinx.HLE/FileSystem/VirtualFileSystem.cs
@@ -227,9 +227,9 @@ namespace Ryujinx.HLE.FileSystem
string titleKeyFile = null;
string consoleKeyFile = null;
- if (!AppDataManager.IsCustomBasePath)
+ if (AppDataManager.Mode == AppDataManager.LaunchMode.UserProfile)
{
- LoadSetAtPath(AppDataManager.KeysDirPathAlt);
+ LoadSetAtPath(AppDataManager.KeysDirPathUser);
}
LoadSetAtPath(AppDataManager.KeysDirPath);