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 New Issue
Block a user