summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_session.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2022-11-04 05:45:56 +0100
committerGitHub <noreply@github.com>2022-11-04 05:45:56 +0100
commit37de88040c1999fed639004fb7200cabb8a5f9c0 (patch)
tree561f8439eb8cabd5f254701aaac05f728cdd1ade /src/core/hle/kernel/k_session.cpp
parentMerge pull request #9154 from liamwhite/new-fb (diff)
parentsm:: avoid excessive port recreation (diff)
downloadyuzu-37de88040c1999fed639004fb7200cabb8a5f9c0.tar
yuzu-37de88040c1999fed639004fb7200cabb8a5f9c0.tar.gz
yuzu-37de88040c1999fed639004fb7200cabb8a5f9c0.tar.bz2
yuzu-37de88040c1999fed639004fb7200cabb8a5f9c0.tar.lz
yuzu-37de88040c1999fed639004fb7200cabb8a5f9c0.tar.xz
yuzu-37de88040c1999fed639004fb7200cabb8a5f9c0.tar.zst
yuzu-37de88040c1999fed639004fb7200cabb8a5f9c0.zip
Diffstat (limited to 'src/core/hle/kernel/k_session.cpp')
-rw-r--r--src/core/hle/kernel/k_session.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/hle/kernel/k_session.cpp b/src/core/hle/kernel/k_session.cpp
index ee05aa282..7a6534ac3 100644
--- a/src/core/hle/kernel/k_session.cpp
+++ b/src/core/hle/kernel/k_session.cpp
@@ -13,8 +13,7 @@ KSession::KSession(KernelCore& kernel_)
: KAutoObjectWithSlabHeapAndContainer{kernel_}, server{kernel_}, client{kernel_} {}
KSession::~KSession() = default;
-void KSession::Initialize(KClientPort* port_, const std::string& name_,
- std::shared_ptr<SessionRequestManager> manager_) {
+void KSession::Initialize(KClientPort* port_, const std::string& name_) {
// Increment reference count.
// Because reference count is one on creation, this will result
// in a reference count of two. Thus, when both server and client are closed
@@ -26,7 +25,7 @@ void KSession::Initialize(KClientPort* port_, const std::string& name_,
KAutoObject::Create(std::addressof(client));
// Initialize our sub sessions.
- server.Initialize(this, name_ + ":Server", manager_);
+ server.Initialize(this, name_ + ":Server");
client.Initialize(this, name_ + ":Client");
// Set state and name.