mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-28 10:00:50 +01:00
Fix inverted read only flag in transfer memory creation (#1945)
This commit is contained in:
parent
c72f78b4d4
commit
3b20080637
@ -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.ReadInt64() & 1) != 0;
|
||||
bool isReadOnly = (context.RequestData.ReadInt64() & 1) == 0;
|
||||
long size = context.RequestData.ReadInt64();
|
||||
int handle = context.Request.HandleDesc.ToCopy[0];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user