diff options
author | bunnei <bunneidev@gmail.com> | 2021-06-10 20:34:41 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-06-10 20:34:41 +0200 |
commit | 781c85b951a8ac8de8f876429a56ae5c375e4149 (patch) | |
tree | cb1c3905b5cbcc47aa31100e4bc484bb79252213 /src/core/hle/service/service.h | |
parent | hle: service: Increase arbitrary max sessions limit. (diff) | |
download | yuzu-781c85b951a8ac8de8f876429a56ae5c375e4149.tar yuzu-781c85b951a8ac8de8f876429a56ae5c375e4149.tar.gz yuzu-781c85b951a8ac8de8f876429a56ae5c375e4149.tar.bz2 yuzu-781c85b951a8ac8de8f876429a56ae5c375e4149.tar.lz yuzu-781c85b951a8ac8de8f876429a56ae5c375e4149.tar.xz yuzu-781c85b951a8ac8de8f876429a56ae5c375e4149.tar.zst yuzu-781c85b951a8ac8de8f876429a56ae5c375e4149.zip |
Diffstat (limited to 'src/core/hle/service/service.h')
-rw-r--r-- | src/core/hle/service/service.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.h index 6c5bf3a95..e078ac176 100644 --- a/src/core/hle/service/service.h +++ b/src/core/hle/service/service.h @@ -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 |