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

Fix alignment on CreateTransferMemoryStorage (#1937)

This commit is contained in:
gdkchan 2021-01-19 21:48:27 -03:00 committed by GitHub
parent c3e0c41da3
commit 6a95a3b01a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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];