aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Teal <rynteal93@gmail.com>2019-03-02 10:51:55 +0000
committerjduncanator <1518948+jduncanator@users.noreply.github.com>2019-03-02 21:51:55 +1100
commit8e71ea0812f6b56ff819dbda951b463bcb5eb8dc (patch)
tree12bc555aaec6a869ffc00765c293d6868c2a52a9
parent0973daefa1a509a8b08c936384251f1fee475587 (diff)
Reuse basePath variable in LocationHelper (#609)
-rw-r--r--Ryujinx.HLE/FileSystem/Content/LocationHelper.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.HLE/FileSystem/Content/LocationHelper.cs b/Ryujinx.HLE/FileSystem/Content/LocationHelper.cs
index df3f5ad6..c522b053 100644
--- a/Ryujinx.HLE/FileSystem/Content/LocationHelper.cs
+++ b/Ryujinx.HLE/FileSystem/Content/LocationHelper.cs
@@ -14,9 +14,9 @@ namespace Ryujinx.HLE.FileSystem.Content
switch (switchContentPath)
{
case ContentPath.SystemContent:
- return Path.Combine(fileSystem.GetBasePath(), SystemNandPath, "Contents");
+ return Path.Combine(basePath, SystemNandPath, "Contents");
case ContentPath.UserContent:
- return Path.Combine(fileSystem.GetBasePath(), UserNandPath, "Contents");
+ return Path.Combine(basePath, UserNandPath, "Contents");
case ContentPath.SdCardContent:
return Path.Combine(fileSystem.GetSdCardPath(), "Nintendo", "Contents");
case ContentPath.System: