mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-30 06:25:20 -04:00
kern: KObjectContainer::Register -> void
This commit is contained in:
parent
b0debd72a7
commit
783f1077be
15 changed files with 19 additions and 23 deletions
|
@ -78,8 +78,8 @@ namespace ams::kern::svc {
|
|||
/* Initialize the resource limit. */
|
||||
resource_limit->Initialize();
|
||||
|
||||
/* Try to register the limit. */
|
||||
R_TRY(KResourceLimit::Register(resource_limit));
|
||||
/* Register the limit. */
|
||||
KResourceLimit::Register(resource_limit);
|
||||
|
||||
/* Add the limit to the handle table. */
|
||||
R_TRY(GetCurrentProcess().GetHandleTable().Add(out_handle, resource_limit));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue