diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2021-01-19 21:48:27 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-19 21:48:27 -0300 |
| commit | 6a95a3b01a4b68cf944a2ea0733f6b8008aa8357 (patch) | |
| tree | ae4cbb636c3a0249b2372ad67e13331269f21364 | |
| parent | c3e0c41da3cef647b8bea54f77103fbad85098ba (diff) | |
Fix alignment on CreateTransferMemoryStorage (#1937)
| -rw-r--r-- | Ryujinx.HLE/HOS/Services/Am/AppletAE/AllSystemAppletProxiesService/SystemAppletProxy/ILibraryAppletCreator.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<copy>) -> object<nn::am::service::IStorage> 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]; |
