forked from Mirror/Ryujinx
Reuse basePath variable in LocationHelper (#609)
This commit is contained in:
parent
0973daefa1
commit
8e71ea0812
1 changed files with 2 additions and 2 deletions
|
@ -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:
|
||||||
|
|
Loading…
Reference in a new issue