shmemMap: Fix invalid libnx result

This commit is contained in:
fincs 2020-04-10 17:16:57 +02:00
parent 5e95507cbc
commit bf5331d178
No known key found for this signature in database
GPG Key ID: 62C7609ADA219C60

View File

@ -46,7 +46,7 @@ Result shmemMap(SharedMemory* s)
}
}
else {
rc = LibnxError_AlreadyMapped;
rc = MAKERESULT(Module_Libnx, LibnxError_AlreadyMapped);
}
return rc;