summaryrefslogtreecommitdiff
path: root/src/core/hle/ipc_helpers.h
diff options
context:
space:
mode:
authorGravatar bunnei2021-05-11 10:51:39 -0700
committerGravatar bunnei2021-05-11 10:51:39 -0700
commitfc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b (patch)
tree19ced76b68881f6f9a6fd250d5e2e73aa53ebdb0 /src/core/hle/ipc_helpers.h
parentWORKAROUND: Do not use slab heap while we track down issues with resource man... (diff)
downloadyuzu-fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.tar.gz
yuzu-fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.tar.xz
yuzu-fc086f93b2165b5c210cb7dcd6c18ebe17f1fd7b.zip
WORKAROUND: temp. disable session resource limits while we work out issues
Diffstat (limited to 'src/core/hle/ipc_helpers.h')
-rw-r--r--src/core/hle/ipc_helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/ipc_helpers.h b/src/core/hle/ipc_helpers.h
index 571b4e81d..f235153c3 100644
--- a/src/core/hle/ipc_helpers.h
+++ b/src/core/hle/ipc_helpers.h
@@ -150,8 +150,8 @@ public:
150 if (context->Session()->IsDomain()) { 150 if (context->Session()->IsDomain()) {
151 context->AddDomainObject(std::move(iface)); 151 context->AddDomainObject(std::move(iface));
152 } else { 152 } else {
153 kernel.CurrentProcess()->GetResourceLimit()->Reserve( 153 // kernel.CurrentProcess()->GetResourceLimit()->Reserve(
154 Kernel::LimitableResource::Sessions, 1); 154 // Kernel::LimitableResource::Sessions, 1);
155 155
156 auto* session = Kernel::KSession::Create(kernel); 156 auto* session = Kernel::KSession::Create(kernel);
157 session->Initialize(nullptr, iface->GetServiceName()); 157 session->Initialize(nullptr, iface->GetServiceName());