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

@@ -56,7 +56,7 @@ namespace ams::kern::svc {
R_TRY(code_mem->Initialize(address, size));
/* Register the code memory. */
R_TRY(KCodeMemory::Register(code_mem));
KCodeMemory::Register(code_mem);
/* Add the code memory to the handle table. */
R_TRY(GetCurrentProcess().GetHandleTable().Add(out, code_mem));