diff options
author | Liam <byteslice@airmail.cc> | 2022-10-12 00:16:56 +0200 |
---|---|---|
committer | Liam <byteslice@airmail.cc> | 2022-10-12 00:40:40 +0200 |
commit | 61a8696510b3bca120f1f0289a3829e3db14834e (patch) | |
tree | 34239a299b7cd842e46df21626f6b190e9b40d14 /src/core/hle/service/sm | |
parent | Add implementation of svcCreateSession (diff) | |
download | yuzu-61a8696510b3bca120f1f0289a3829e3db14834e.tar yuzu-61a8696510b3bca120f1f0289a3829e3db14834e.tar.gz yuzu-61a8696510b3bca120f1f0289a3829e3db14834e.tar.bz2 yuzu-61a8696510b3bca120f1f0289a3829e3db14834e.tar.lz yuzu-61a8696510b3bca120f1f0289a3829e3db14834e.tar.xz yuzu-61a8696510b3bca120f1f0289a3829e3db14834e.tar.zst yuzu-61a8696510b3bca120f1f0289a3829e3db14834e.zip |
Diffstat (limited to 'src/core/hle/service/sm')
-rw-r--r-- | src/core/hle/service/sm/sm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index 246c94623..48e70f93c 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp @@ -156,7 +156,8 @@ ResultVal<Kernel::KClientSession*> SM::GetServiceImpl(Kernel::HLERequestContext& // Create a new session. Kernel::KClientSession* session{}; - if (const auto result = port->GetClientPort().CreateSession(std::addressof(session)); + if (const auto result = port->GetClientPort().CreateSession( + std::addressof(session), std::make_shared<Kernel::SessionRequestManager>(kernel)); result.IsError()) { LOG_ERROR(Service_SM, "called service={} -> error 0x{:08X}", name, result.raw); return result; |