From 6a95a3b01a4b68cf944a2ea0733f6b8008aa8357 Mon Sep 17 00:00:00 2001 From: gdkchan Date: Tue, 19 Jan 2021 21:48:27 -0300 Subject: [PATCH] Fix alignment on CreateTransferMemoryStorage (#1937) --- .../SystemAppletProxy/ILibraryAppletCreator.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ILibraryAppletCreator.cs b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ILibraryAppletCreator.cs index 9fd002a2..b64da12f 100644 --- a/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ILibraryAppletCreator.cs +++ b/Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ILibraryAppletCreator.cs @@ -42,7 +42,7 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Sys // CreateTransferMemoryStorage(b8, u64, handle) -> object public ResultCode CreateTransferMemoryStorage(ServiceCtx context) { - bool isReadOnly = context.RequestData.ReadBoolean(); + bool isReadOnly = (context.RequestData.ReadInt64() & 1) != 0; long size = context.RequestData.ReadInt64(); int handle = context.Request.HandleDesc.ToCopy[0];