1
0
Fork 1
forked from suyu/suyu

hle: service: Increase arbitrary max sessions limit.

- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
This commit is contained in:
bunnei 2021-06-10 00:08:09 -07:00 committed by GitHub
parent 74f0087bfa
commit fa8a0065ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -41,10 +41,7 @@ class ServiceManager;
} }
/// Default number of maximum connections to a server session. /// Default number of maximum connections to a server session.
static constexpr u32 ServerSessionCountMax = 0x40; static constexpr u32 ServerSessionCountMax = 0x10000;
static_assert(ServerSessionCountMax == 0x40,
"ServerSessionCountMax isn't 0x40 somehow, this assert is a reminder that this will "
"break lots of things");
/** /**
* This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it * This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it