fix filename when accessing pfs

This commit is contained in:
emmaus 2018-11-05 20:18:14 +00:00
commit 453d335e98

View file

@ -325,7 +325,7 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv
Ticket.GetTitleKey(Context.Device.System.KeySet); Ticket.GetTitleKey(Context.Device.System.KeySet);
} }
string Filename = FullPath.Replace(ArchivePath.FullName, string.Empty); string Filename = FullPath.Replace(ArchivePath.FullName, string.Empty).TrimStart('\\');
if (Nsp.FileExists(Filename)) if (Nsp.FileExists(Filename))
{ {