hle: kernel: KServerSession: Fix client disconnected.
- Prevents a cloned session's handler from being overwritten by another disconnected session. - Fixes session handler nullptr asserts with Pokemon Sword & Shield.
This commit is contained in:
parent
86d832ab9a
commit
b2971b48ed
3 changed files with 8 additions and 9 deletions
|
@ -42,7 +42,7 @@ class ServiceManager;
|
|||
|
||||
static const int kMaxPortSize = 8; ///< Maximum size of a port name (8 characters)
|
||||
/// Arbitrary default number of maximum connections to an HLE service.
|
||||
static const u32 DefaultMaxSessions = 0x10000;
|
||||
static const u32 DefaultMaxSessions = 0x100;
|
||||
|
||||
/**
|
||||
* This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue