mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-15 09:35:27 +00:00
Reuse basePath variable in LocationHelper (#609)
This commit is contained in:
parent
0973daefa1
commit
8e71ea0812
|
@ -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