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)
{
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: