aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Common/Configuration/AppDataManager.cs
diff options
context:
space:
mode:
authorMutantAura <44103205+MutantAura@users.noreply.github.com>2022-03-06 21:12:01 +0000
committerGitHub <noreply@github.com>2022-03-06 22:12:01 +0100
commitee174be57c69d5620f200103a403b42d7f69ed5f (patch)
treeac60857c24278e22ea1cdef003703387e1c3f7d5 /Ryujinx.Common/Configuration/AppDataManager.cs
parent0bcbe32367eeada2a5aa7e6bb2edccc22cababa3 (diff)
Mod loading from atmosphere SD directories (#3176)1.1.62
* initial sd support * GUI option * alignment * review changes
Diffstat (limited to 'Ryujinx.Common/Configuration/AppDataManager.cs')
-rw-r--r--Ryujinx.Common/Configuration/AppDataManager.cs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Ryujinx.Common/Configuration/AppDataManager.cs b/Ryujinx.Common/Configuration/AppDataManager.cs
index 99373570..1d217f58 100644
--- a/Ryujinx.Common/Configuration/AppDataManager.cs
+++ b/Ryujinx.Common/Configuration/AppDataManager.cs
@@ -34,6 +34,7 @@ namespace Ryujinx.Common.Configuration
private const string DefaultModsDir = "mods";
public static string CustomModsPath { get; set; }
+ public static string CustomSdModsPath {get; set; }
public static string CustomNandPath { get; set; } // TODO: Actually implement this into VFS
public static string CustomSdCardPath { get; set; } // TODO: Actually implement this into VFS
@@ -84,6 +85,7 @@ namespace Ryujinx.Common.Configuration
Directory.CreateDirectory(KeysDirPath = Path.Combine(BaseDirPath, KeysDir));
}
- public static string GetModsPath() => CustomModsPath ?? Directory.CreateDirectory(Path.Combine(BaseDirPath, DefaultModsDir)).FullName;
+ public static string GetModsPath() => CustomModsPath ?? Directory.CreateDirectory(Path.Combine(BaseDirPath, DefaultModsDir)).FullName;
+ public static string GetSdModsPath() => CustomSdModsPath ?? Directory.CreateDirectory(Path.Combine(BaseDirPath, DefaultSdcardDir, "atmosphere")).FullName;
}
} \ No newline at end of file