1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-23 08:22:00 +00:00

Reuse basePath variable in LocationHelper (#609)

This commit is contained in:
Ryan Teal 2019-03-02 10:51:55 +00:00 committed by jduncanator
parent 0973daefa1
commit 8e71ea0812

View file

@ -14,9 +14,9 @@ namespace Ryujinx.HLE.FileSystem.Content
switch (switchContentPath) switch (switchContentPath)
{ {
case ContentPath.SystemContent: case ContentPath.SystemContent:
return Path.Combine(fileSystem.GetBasePath(), SystemNandPath, "Contents"); return Path.Combine(basePath, SystemNandPath, "Contents");
case ContentPath.UserContent: case ContentPath.UserContent:
return Path.Combine(fileSystem.GetBasePath(), UserNandPath, "Contents"); return Path.Combine(basePath, UserNandPath, "Contents");
case ContentPath.SdCardContent: case ContentPath.SdCardContent:
return Path.Combine(fileSystem.GetSdCardPath(), "Nintendo", "Contents"); return Path.Combine(fileSystem.GetSdCardPath(), "Nintendo", "Contents");
case ContentPath.System: case ContentPath.System: