mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-28 10:00:50 +01:00
parent
ad2424171a
commit
5bd75477eb
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user