diff options
| author | Caian Benedicto <caianbene@gmail.com> | 2021-01-22 23:48:03 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-01-23 13:48:03 +1100 |
| commit | 3b200806378f393e3014d4f4fbc2948d80d00a3f (patch) | |
| tree | 8167d5f84b0b00f78f379cc17cf761b839ba5373 /Ryujinx.HLE | |
| parent | c72f78b4d481b889c46196792dff913cfd8becdc (diff) | |
Fix inverted read only flag in transfer memory creation (#1945)
Diffstat (limited to 'Ryujinx.HLE')
| -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 b64da12f..2cd2866e 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.ReadInt64() & 1) != 0; + bool isReadOnly = (context.RequestData.ReadInt64() & 1) == 0; long size = context.RequestData.ReadInt64(); int handle = context.Request.HandleDesc.ToCopy[0]; |
