This commit is contained in:
Alex Barney 2019-10-16 12:23:32 -05:00
parent fef7f153d1
commit 26fdbb8ed2
2 changed files with 3 additions and 2 deletions

View file

@ -41,7 +41,7 @@ namespace Ryujinx.HLE.HOS.Services.Fs.FileSystemProxy
public ResultCode Write(ServiceCtx context)
{
long position = context.Request.SendBuff[0].Position;
WriteOption writeOption = (WriteOption)context.RequestData.ReadInt32();
context.RequestData.BaseStream.Position += 4;

View file

@ -119,7 +119,8 @@ namespace Ryujinx.UI
// Creates NACP class from the NACP file
controlFs.OpenFile(out IFile controlNacpFile, "/control.nacp", OpenMode.Read).ThrowIfFailure();
Nacp controlData = new Nacp(controlNacpFile.AsStream());
Nacp controlData = new Nacp(controlNacpFile.AsStream());
// Get the title name, title ID, developer name and version number from the NACP
version = controlData.DisplayVersion;