1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-12-01 04:22:01 +00:00

Fix OpenBisFileSystem wrong buffer type (#909)

As the title say.
This commit is contained in:
Thog 2020-01-27 21:09:04 +01:00 committed by GitHub
parent ad2424171a
commit 5bd75477eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,8 +115,8 @@ namespace Ryujinx.HLE.HOS.Services.Fs.FileSystemProxy
public static Result ReadFsPath(out FsPath path, ServiceCtx context, int index = 0) public static Result ReadFsPath(out FsPath path, ServiceCtx context, int index = 0)
{ {
long position = context.Request.SendBuff[index].Position; long position = context.Request.PtrBuff[index].Position;
long size = context.Request.SendBuff[index].Size; long size = context.Request.PtrBuff[index].Size;
byte[] pathBytes = context.Memory.ReadBytes(position, size); byte[] pathBytes = context.Memory.ReadBytes(position, size);