diff options
| author | 2021-05-15 22:34:55 -0700 | |
|---|---|---|
| committer | 2021-05-20 21:40:30 -0700 | |
| commit | c40e7593f5531884ac91add3d8743b9c08e5535f (patch) | |
| tree | 0d2def92d7e9b9a961a373188edfde1a4c76e313 /src/core/hle/ipc_helpers.h | |
| parent | Merge pull request #6320 from Morph1984/get-pid (diff) | |
| download | yuzu-c40e7593f5531884ac91add3d8743b9c08e5535f.tar.gz yuzu-c40e7593f5531884ac91add3d8743b9c08e5535f.tar.xz yuzu-c40e7593f5531884ac91add3d8743b9c08e5535f.zip | |
Revert "WORKAROUND: temp. disable session resource limits while we work out issues"
This reverts commit fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.
Diffstat (limited to 'src/core/hle/ipc_helpers.h')
| -rw-r--r-- | src/core/hle/ipc_helpers.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h index 497f35d23..c0d0860fd 100644 --- a/src/core/hle/ipc_helpers.h +++ b/src/core/hle/ipc_helpers.h | |||
| @@ -151,8 +151,8 @@ public: | |||
| 151 | if (context->Session()->IsDomain()) { | 151 | if (context->Session()->IsDomain()) { |
| 152 | context->AddDomainObject(std::move(iface)); | 152 | context->AddDomainObject(std::move(iface)); |
| 153 | } else { | 153 | } else { |
| 154 | // kernel.CurrentProcess()->GetResourceLimit()->Reserve( | 154 | kernel.CurrentProcess()->GetResourceLimit()->Reserve( |
| 155 | // Kernel::LimitableResource::Sessions, 1); | 155 | Kernel::LimitableResource::Sessions, 1); |
| 156 | 156 | ||
| 157 | auto* session = Kernel::KSession::Create(kernel); | 157 | auto* session = Kernel::KSession::Create(kernel); |
| 158 | session->Initialize(nullptr, iface->GetServiceName()); | 158 | session->Initialize(nullptr, iface->GetServiceName()); |