aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.HLE/HOS/Services/Fs/FileSystemProxy/FileSystemProxyHelper.cs
diff options
context:
space:
mode:
authorThog <me@thog.eu>2020-01-27 21:09:04 +0100
committerGitHub <noreply@github.com>2020-01-27 21:09:04 +0100
commit5bd75477ebad081726c321987cbe6f395cd7f198 (patch)
tree8dbd9801da8ef31c9f57da65342029a3f3a689e8 /Ryujinx.HLE/HOS/Services/Fs/FileSystemProxy/FileSystemProxyHelper.cs
parentad2424171a2c2bc12f2a94524b39f69fd0e5fbca (diff)
Fix OpenBisFileSystem wrong buffer type (#909)
As the title say.
Diffstat (limited to 'Ryujinx.HLE/HOS/Services/Fs/FileSystemProxy/FileSystemProxyHelper.cs')
-rw-r--r--Ryujinx.HLE/HOS/Services/Fs/FileSystemProxy/FileSystemProxyHelper.cs4
1 files 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 1dd5fb86..c0f28166 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);