diff options
| author | 2021-06-09 21:37:11 -0700 | |
|---|---|---|
| committer | 2021-06-09 21:37:11 -0700 | |
| commit | b2971b48ed8f86857878f0fc0e1a744c4bc9d766 (patch) | |
| tree | 165e8f13b5e5be2a870cef7799f50c086e5f5d12 /src/core/hle/service/service.h | |
| parent | Merge pull request #6439 from lat9nq/ci-no-7z (diff) | |
| download | yuzu-b2971b48ed8f86857878f0fc0e1a744c4bc9d766.tar.gz yuzu-b2971b48ed8f86857878f0fc0e1a744c4bc9d766.tar.xz yuzu-b2971b48ed8f86857878f0fc0e1a744c4bc9d766.zip | |
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.
Diffstat (limited to 'src/core/hle/service/service.h')
| -rw-r--r-- | src/core/hle/service/service.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h index 7f133a7cb..78afd7c73 100644 --- a/src/core/hle/service/service.h +++ b/src/core/hle/service/service.h | |||
| @@ -42,7 +42,7 @@ class ServiceManager; | |||
| 42 | 42 | ||
| 43 | static const int kMaxPortSize = 8; ///< Maximum size of a port name (8 characters) | 43 | static const int kMaxPortSize = 8; ///< Maximum size of a port name (8 characters) |
| 44 | /// Arbitrary default number of maximum connections to an HLE service. | 44 | /// Arbitrary default number of maximum connections to an HLE service. |
| 45 | static const u32 DefaultMaxSessions = 0x10000; | 45 | static const u32 DefaultMaxSessions = 0x100; |
| 46 | 46 | ||
| 47 | /** | 47 | /** |
| 48 | * This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it | 48 | * This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it |