kern: KObjectContainer::Register -> void

This commit is contained in:
Michael Scire authored and SciresM committed 2020-12-02 06:43:37 -08:00
1 parent b0debd72a7
commit 783f1077be
15 files changed
+19 -23

No files matched your search

@@ -117,7 +117,7 @@ namespace ams::kern::svc {
R_TRY(shmem->Initialize(GetCurrentProcessPointer(), size, owner_perm, remote_perm));
/* Register the shared memory. */
R_TRY(KSharedMemory::Register(shmem));
KSharedMemory::Register(shmem);
/* Add the shared memory to the handle table. */
R_TRY(GetCurrentProcess().GetHandleTable().Add(out, shmem));