kernel/svc_types: refresh

This commit is contained in:
Liam
2022-11-03 10:22:05 -04:00
parent 770f23db34
commit 4eece4d35d
19 changed files with 562 additions and 136 deletions

View File

@ -76,7 +76,7 @@ void KSession::OnClientClosed() {
void KSession::PostDestroy(uintptr_t arg) {
// Release the session count resource the owner process holds.
KProcess* owner = reinterpret_cast<KProcess*>(arg);
owner->GetResourceLimit()->Release(LimitableResource::Sessions, 1);
owner->GetResourceLimit()->Release(LimitableResource::SessionCountMax, 1);
owner->Close();
}