From d4077b01966ff5eb225e3f9f51d7f35334759170 Mon Sep 17 00:00:00 2001 From: Subv Date: Sun, 5 Nov 2017 14:28:06 -0500 Subject: [PATCH] Services/AC: Corrected the number of concurrent connections for AC_I and AC_U The number was reverse engineered from the AC module. --- src/core/hle/service/ac/ac_i.cpp | 3 +-- src/core/hle/service/ac/ac_u.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/core/hle/service/ac/ac_i.cpp b/src/core/hle/service/ac/ac_i.cpp index c715bcdd0..afb1b243b 100644 --- a/src/core/hle/service/ac/ac_i.cpp +++ b/src/core/hle/service/ac/ac_i.cpp @@ -7,8 +7,7 @@ namespace Service { namespace AC { -// TODO(Subv): Find out the correct number of concurrent sessions allowed -AC_I::AC_I(std::shared_ptr ac) : Module::Interface(std::move(ac), "ac:i", 1) { +AC_I::AC_I(std::shared_ptr ac) : Module::Interface(std::move(ac), "ac:i", 10) { static const FunctionInfo functions[] = { {0x00010000, &AC_I::CreateDefaultConfig, "CreateDefaultConfig"}, {0x00040006, &AC_I::ConnectAsync, "ConnectAsync"}, diff --git a/src/core/hle/service/ac/ac_u.cpp b/src/core/hle/service/ac/ac_u.cpp index 988f27b9d..ec31fcb3d 100644 --- a/src/core/hle/service/ac/ac_u.cpp +++ b/src/core/hle/service/ac/ac_u.cpp @@ -7,8 +7,7 @@ namespace Service { namespace AC { -// TODO(Subv): Find out the correct number of concurrent sessions allowed -AC_U::AC_U(std::shared_ptr ac) : Module::Interface(std::move(ac), "ac:u", 1) { +AC_U::AC_U(std::shared_ptr ac) : Module::Interface(std::move(ac), "ac:u", 10) { static const FunctionInfo functions[] = { {0x00010000, &AC_U::CreateDefaultConfig, "CreateDefaultConfig"}, {0x00040006, &AC_U::ConnectAsync, "ConnectAsync"},