From 3b200806378f393e3014d4f4fbc2948d80d00a3f Mon Sep 17 00:00:00 2001 From: Caian Benedicto Date: Fri, 22 Jan 2021 23:48:03 -0300 Subject: [PATCH] Fix inverted read only flag in transfer memory creation (#1945) --- .../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 b64da12f1..2cd2866ef 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.ReadInt64() & 1) != 0; + bool isReadOnly = (context.RequestData.ReadInt64() & 1) == 0; long size = context.RequestData.ReadInt64(); int handle = context.Request.HandleDesc.ToCopy[0];