aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/VirtualFileSystem.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx.HLE/VirtualFileSystem.cs')
-rw-r--r--Ryujinx.HLE/VirtualFileSystem.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/Ryujinx.HLE/VirtualFileSystem.cs b/Ryujinx.HLE/VirtualFileSystem.cs
index df1fc9db..31b8e184 100644
--- a/Ryujinx.HLE/VirtualFileSystem.cs
+++ b/Ryujinx.HLE/VirtualFileSystem.cs
@@ -8,6 +8,7 @@ namespace Ryujinx.HLE
private const string BasePath = "RyuFs";
private const string NandPath = "nand";
private const string SdCardPath = "sdmc";
+ private const string SystemPath = "system";
public Stream RomFs { get; private set; }
@@ -45,6 +46,8 @@ namespace Ryujinx.HLE
public string GetGameSavesPath() => MakeDirAndGetFullPath(NandPath);
+ public string GetSystemPath() => MakeDirAndGetFullPath(SystemPath);
+
public string SwitchPathToSystemPath(string SwitchPath)
{
string[] Parts = SwitchPath.Split(":");