Fix SystemPathToSwitchPath platform issues and make sure to delete temporary NRO after sessions dispose (#293)

This commit is contained in:
Thomas Guillemard
2018-07-19 20:44:52 +02:00
committed by gdkchan
parent 8b67297711
commit c9fc52edb6
3 changed files with 7 additions and 8 deletions

View File

@@ -96,7 +96,6 @@ namespace Ryujinx.HLE.OsHle
if (IsNro && (SwitchFilePath == null || !SwitchFilePath.StartsWith("sdmc:/")))
{
// TODO: avoid copying the file if we are already inside a sdmc directory
string SwitchPath = $"sdmc:/switch/{Name}{Homebrew.TemporaryNroSuffix}";
string TempPath = Ns.VFs.SwitchPathToSystemPath(SwitchPath);