3
0
Fork 0
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.
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