From 5bd75477ebad081726c321987cbe6f395cd7f198 Mon Sep 17 00:00:00 2001 From: Thog Date: Mon, 27 Jan 2020 21:09:04 +0100 Subject: [PATCH] Fix OpenBisFileSystem wrong buffer type (#909) As the title say. --- .../HOS/Services/Fs/FileSystemProxy/FileSystemProxyHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Ryujinx.HLE/HOS/Services/Fs/FileSystemProxy/FileSystemProxyHelper.cs b/Ryujinx.HLE/HOS/Services/Fs/FileSystemProxy/FileSystemProxyHelper.cs index 1dd5fb86e..c0f28166b 100644 --- a/Ryujinx.HLE/HOS/Services/Fs/FileSystemProxy/FileSystemProxyHelper.cs +++ b/Ryujinx.HLE/HOS/Services/Fs/FileSystemProxy/FileSystemProxyHelper.cs @@ -115,8 +115,8 @@ namespace Ryujinx.HLE.HOS.Services.Fs.FileSystemProxy public static Result ReadFsPath(out FsPath path, ServiceCtx context, int index = 0) { - long position = context.Request.SendBuff[index].Position; - long size = context.Request.SendBuff[index].Size; + long position = context.Request.PtrBuff[index].Position; + long size = context.Request.PtrBuff[index].Size; byte[] pathBytes = context.Memory.ReadBytes(position, size);