aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/sm/sm.cpp
diff options
context:
space:
mode:
authorLiam <[email protected]>2023-03-06 20:34:25 -0500
committerLiam <[email protected]>2023-03-12 22:06:53 -0400
commit097c25b164ba830b8d4a89926a3e90d297d06d8f (patch)
tree646caab83e97e60249ed102596a968be10acfec8 /src/core/hle/service/sm/sm.cpp
parentd24ab14126a761ae40ce5d4964083390f1d7b396 (diff)
downloadyuzu-android-097c25b164ba830b8d4a89926a3e90d297d06d8f.tar.gz
yuzu-android-097c25b164ba830b8d4a89926a3e90d297d06d8f.zip
kernel: convert KPort, KSession
Diffstat (limited to 'src/core/hle/service/sm/sm.cpp')
-rw-r--r--src/core/hle/service/sm/sm.cpp4
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};