mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-28 05:34:11 -04:00
pm: increase dmnt sessions. sm: remove session limit hack
This commit is contained in:
parent
d3bafc5b3b
commit
5448332009
2 changed files with 5 additions and 12 deletions
|
@ -399,13 +399,6 @@ namespace ams::sm::impl {
|
|||
/* Don't try to register something already registered. */
|
||||
R_UNLESS(!HasServiceInfo(service), sm::ResultAlreadyRegistered());
|
||||
|
||||
/* Adjust session limit, if compile flags tell us to. */
|
||||
#ifdef SM_MINIMUM_SESSION_LIMIT
|
||||
if (max_sessions < SM_MINIMUM_SESSION_LIMIT) {
|
||||
max_sessions = SM_MINIMUM_SESSION_LIMIT;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* Get free service. */
|
||||
ServiceInfo *free_service = GetFreeServiceInfo();
|
||||
R_UNLESS(free_service != nullptr, sm::ResultOutOfServices());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue