diff options
| author | liamwhite <liamwhite@users.noreply.github.com> | 2023-03-13 09:16:16 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-13 09:16:16 -0400 |
| commit | 1f952f6ac9e3aca3dba8e4286fe937616081a767 (patch) | |
| tree | ca57513605bdef4767762614c074ca90b7791575 /src/core/hle/service/sm/sm.cpp | |
| parent | 54c359d1e3915653ce07a26e0e574aca5a331cb1 (diff) | |
| parent | c352381ce9196765f7df2b3ff4f6ea1f349781fb (diff) | |
Merge pull request #9936 from liamwhite/m_this
kernel: use consistent style
Diffstat (limited to 'src/core/hle/service/sm/sm.cpp')
| -rw-r--r-- | src/core/hle/service/sm/sm.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index b4046d3ce..c45be5726 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp @@ -62,7 +62,7 @@ Result ServiceManager::RegisterService(std::string name, u32 max_sessions, } auto* port = Kernel::KPort::Create(kernel); - port->Initialize(ServerSessionCountMax, false, name); + port->Initialize(ServerSessionCountMax, false, 0); service_ports.emplace(name, port); registered_services.emplace(name, handler); @@ -211,7 +211,7 @@ void SM::RegisterService(HLERequestContext& ctx) { } auto* port = Kernel::KPort::Create(kernel); - port->Initialize(ServerSessionCountMax, is_light, name); + port->Initialize(ServerSessionCountMax, is_light, 0); SCOPE_EXIT({ port->GetClientPort().Close(); }); IPC::ResponseBuilder rb{ctx, 2, 0, 1, IPC::ResponseBuilder::Flags::AlwaysMoveHandles}; |
