mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -04:00
strat: prefer os::NativeHandle to Handle/svc::Handle where sensible
This commit is contained in:
parent
597d521f52
commit
d0041a33ac
50 changed files with 193 additions and 190 deletions
|
@ -143,7 +143,7 @@ namespace ams::sm {
|
|||
g_server_manager.Initialize();
|
||||
|
||||
/* Create the handles for our ports. */
|
||||
svc::Handle user_port_handle = svc::InvalidHandle, manager_port_handle = svc::InvalidHandle;
|
||||
os::NativeHandle user_port_handle, manager_port_handle;
|
||||
{
|
||||
/* Create the user port handle. */
|
||||
R_ABORT_UNLESS(svc::ManageNamedPort(std::addressof(user_port_handle), "sm:", MaxSessionsUser));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue