mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-19 01:38:09 -05:00
hle: service: sm: Remove redundant session reservation, etc.
- We were double-reserving, causing us to run out of sessions in Pokemon Sword & Shield.
This commit is contained in:
@ -41,7 +41,10 @@ class ServiceManager;
|
||||
}
|
||||
|
||||
/// Default number of maximum connections to a server session.
|
||||
static constexpr u32 ServerSessionCountMax = 0x10000;
|
||||
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");
|
||||
|
||||
/**
|
||||
* This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it
|
||||
|
Reference in New Issue
Block a user