kern: KObjectContainer::Register -> void

This commit is contained in:
Michael Scire
2020-12-01 13:49:30 -08:00
parent 59ada14680
commit 2e0378c724
15 changed files with 19 additions and 23 deletions

View File

@@ -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));