diff options
| author | 2021-06-10 00:08:09 -0700 | |
|---|---|---|
| committer | 2021-06-10 00:08:09 -0700 | |
| commit | fa8a0065ca934275be816929ac3d08713bebd6e0 (patch) | |
| tree | 788f7ffbb7141c40c9fb2dd11d9c2b9e75293e67 | |
| parent | Merge pull request #6441 from bunnei/fix-session-handler (diff) | |
| download | yuzu-fa8a0065ca934275be816929ac3d08713bebd6e0.tar.gz yuzu-fa8a0065ca934275be816929ac3d08713bebd6e0.tar.xz yuzu-fa8a0065ca934275be816929ac3d08713bebd6e0.zip | |
hle: service: Increase arbitrary max sessions limit.
- Pokemon Sword/Shield are still hitting this for some reason, causing an svcBreak.
Diffstat (limited to '')
| -rw-r--r-- | src/core/hle/service/service.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h index e078ac176..6c5bf3a95 100644 --- a/src/core/hle/service/service.h +++ b/src/core/hle/service/service.h | |||
| @@ -41,10 +41,7 @@ class ServiceManager; | |||
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | /// Default number of maximum connections to a server session. | 43 | /// Default number of maximum connections to a server session. |
| 44 | static constexpr u32 ServerSessionCountMax = 0x40; | 44 | static constexpr u32 ServerSessionCountMax = 0x10000; |
| 45 | static_assert(ServerSessionCountMax == 0x40, | ||
| 46 | "ServerSessionCountMax isn't 0x40 somehow, this assert is a reminder that this will " | ||
| 47 | "break lots of things"); | ||
| 48 | 45 | ||
| 49 | /** | 46 | /** |
| 50 | * This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it | 47 | * This is an non-templated base of ServiceFramework to reduce code bloat and compilation times, it |