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;