From 88cc6acb4dd16aa22e665dd54e3954ec5718cc95 Mon Sep 17 00:00:00 2001 From: Steveice10 <1269164+Steveice10@users.noreply.github.com> Date: Tue, 14 Nov 2023 01:33:47 -0800 Subject: [PATCH] hle: Fix session limits for srv: and soc:U. (#7160) --- src/core/hle/service/sm/srv.cpp | 2 +- src/core/hle/service/soc/soc_u.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/hle/service/sm/srv.cpp b/src/core/hle/service/sm/srv.cpp index c5b295622..8052c9063 100644 --- a/src/core/hle/service/sm/srv.cpp +++ b/src/core/hle/service/sm/srv.cpp @@ -286,7 +286,7 @@ void SRV::RegisterService(Kernel::HLERequestContext& ctx) { rb.PushMoveObjects(port.Unwrap()); } -SRV::SRV(Core::System& system) : ServiceFramework("srv:", 4), system(system) { +SRV::SRV(Core::System& system) : ServiceFramework("srv:", 64), system(system) { static const FunctionInfo functions[] = { // clang-format off {0x0001, &SRV::RegisterClient, "RegisterClient"}, diff --git a/src/core/hle/service/soc/soc_u.cpp b/src/core/hle/service/soc/soc_u.cpp index 99dfb938b..00a814a4f 100644 --- a/src/core/hle/service/soc/soc_u.cpp +++ b/src/core/hle/service/soc/soc_u.cpp @@ -1790,7 +1790,7 @@ void SOC_U::GetNameInfoImpl(Kernel::HLERequestContext& ctx) { rb.PushStaticBuffer(std::move(serv), 1); } -SOC_U::SOC_U() : ServiceFramework("soc:U") { +SOC_U::SOC_U() : ServiceFramework("soc:U", 18) { static const FunctionInfo functions[] = { // clang-format off {0x0001, &SOC_U::InitializeSockets, "InitializeSockets"},