From fa8a0065ca934275be816929ac3d08713bebd6e0 Mon Sep 17 00:00:00 2001 From: bunnei Date: Thu, 10 Jun 2021 00:08:09 -0700 Subject: hle: service: Increase arbitrary max sessions limit. - Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak. --- src/core/hle/service/service.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/core') diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h index e078ac176..6c5bf3a95 100644 --- a/src/core/hle/service/service.h +++ b/src/core/hle/service/service.h @@ -41,10 +41,7 @@ class ServiceManager; } /// Default number of maximum connections to a server session. -static constexpr u32 ServerSessionCountMax = 0x40; -static_assert(ServerSessionCountMax == 0x40, - "ServerSessionCountMax isn't 0x40 somehow, this assert is a reminder that this will " - "break lots of things"); +static constexpr u32 ServerSessionCountMax = 0x10000; /** * This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it -- cgit v1.2.3