Browse Source
hle: service: Increase arbitrary max sessions limit.
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
pull/15/merge
bunnei
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
4 deletions
-
src/core/hle/service/service.h
|
|
@ -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_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 |
|
|
* This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it |
|
|
|