From 453d335e989bd6079b3ab8b94d97c5f90dd52df8 Mon Sep 17 00:00:00 2001 From: emmaus Date: Mon, 5 Nov 2018 20:18:14 +0000 Subject: [PATCH] fix filename when accessing pfs --- Ryujinx.HLE/HOS/Services/FspSrv/IFileSystemProxy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.HLE/HOS/Services/FspSrv/IFileSystemProxy.cs b/Ryujinx.HLE/HOS/Services/FspSrv/IFileSystemProxy.cs index 6d047c32eb..9efd214b42 100644 --- a/Ryujinx.HLE/HOS/Services/FspSrv/IFileSystemProxy.cs +++ b/Ryujinx.HLE/HOS/Services/FspSrv/IFileSystemProxy.cs @@ -325,7 +325,7 @@ namespace Ryujinx.HLE.HOS.Services.FspSrv 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)) {