diff options
author | bunnei <bunneidev@gmail.com> | 2021-05-11 19:51:39 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2021-05-11 19:51:39 +0200 |
commit | fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b (patch) | |
tree | 19ced76b68881f6f9a6fd250d5e2e73aa53ebdb0 /src/core/hle/service | |
parent | WORKAROUND: Do not use slab heap while we track down issues with resource management. (diff) | |
download | yuzu-fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.tar yuzu-fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.tar.gz yuzu-fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.tar.bz2 yuzu-fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.tar.lz yuzu-fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.tar.xz yuzu-fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.tar.zst yuzu-fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/sm/sm.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index 391db48b1..8cc9aee8a 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp @@ -158,15 +158,15 @@ ResultVal<Kernel::KClientSession*> SM::GetServiceImpl(Kernel::HLERequestContext& auto* port = result.Unwrap(); - Kernel::KScopedResourceReservation session_reservation( - kernel.CurrentProcess()->GetResourceLimit(), Kernel::LimitableResource::Sessions); - R_UNLESS(session_reservation.Succeeded(), Kernel::ResultLimitReached); + // Kernel::KScopedResourceReservation session_reservation( + // kernel.CurrentProcess()->GetResourceLimit(), Kernel::LimitableResource::Sessions); + // R_UNLESS(session_reservation.Succeeded(), Kernel::ResultLimitReached); auto* session = Kernel::KSession::Create(kernel); session->Initialize(&port->GetClientPort(), std::move(name)); // Commit the session reservation. - session_reservation.Commit(); + // session_reservation.Commit(); if (port->GetServerPort().GetHLEHandler()) { port->GetServerPort().GetHLEHandler()->ClientConnected(&session->GetServerSession()); |