mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-23 18:45:44 +00:00
Fix alignment on CreateTransferMemoryStorage (#1937)
This commit is contained in:
parent
c3e0c41da3
commit
6a95a3b01a
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ namespace Ryujinx.HLE.HOS.Services.Am.AppletAE.AllSystemAppletProxiesService.Sys
|
||||||
// CreateTransferMemoryStorage(b8, u64, handle<copy>) -> object<nn::am::service::IStorage>
|
// CreateTransferMemoryStorage(b8, u64, handle<copy>) -> object<nn::am::service::IStorage>
|
||||||
public ResultCode CreateTransferMemoryStorage(ServiceCtx context)
|
public ResultCode CreateTransferMemoryStorage(ServiceCtx context)
|
||||||
{
|
{
|
||||||
bool isReadOnly = context.RequestData.ReadBoolean();
|
bool isReadOnly = (context.RequestData.ReadInt64() & 1) != 0;
|
||||||
long size = context.RequestData.ReadInt64();
|
long size = context.RequestData.ReadInt64();
|
||||||
int handle = context.Request.HandleDesc.ToCopy[0];
|
int handle = context.Request.HandleDesc.ToCopy[0];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue