From bf5331d1782dcf4c85fd91ebf5ed74da2c5ccd31 Mon Sep 17 00:00:00 2001 From: fincs Date: Fri, 10 Apr 2020 17:16:57 +0200 Subject: [PATCH] shmemMap: Fix invalid libnx result --- nx/source/kernel/shmem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nx/source/kernel/shmem.c b/nx/source/kernel/shmem.c index 15c1a121..b45e49cb 100644 --- a/nx/source/kernel/shmem.c +++ b/nx/source/kernel/shmem.c @@ -46,7 +46,7 @@ Result shmemMap(SharedMemory* s) } } else { - rc = LibnxError_AlreadyMapped; + rc = MAKERESULT(Module_Libnx, LibnxError_AlreadyMapped); } return rc;