1
0
Fork 0

hle: Fix session limits for srv: and soc:U. (#7160)

This commit is contained in:
Steveice10 2023-11-14 01:33:47 -08:00 committed by GitHub
parent 3b31720c4d
commit 88cc6acb4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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"},

View File

@ -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"},