summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-03-06 00:51:16 +0100
committerLioncash <mathew1800@gmail.com>2019-03-06 02:10:07 +0100
commit221613d4ead717dc788d0f391c22c31db5fe2530 (patch)
tree5a6c05e74ebfc0ff8b371904a9d1741b172d63b7 /src/core/hle/service
parentkernel/client_session: Make data members private (diff)
downloadyuzu-221613d4ead717dc788d0f391c22c31db5fe2530.tar
yuzu-221613d4ead717dc788d0f391c22c31db5fe2530.tar.gz
yuzu-221613d4ead717dc788d0f391c22c31db5fe2530.tar.bz2
yuzu-221613d4ead717dc788d0f391c22c31db5fe2530.tar.lz
yuzu-221613d4ead717dc788d0f391c22c31db5fe2530.tar.xz
yuzu-221613d4ead717dc788d0f391c22c31db5fe2530.tar.zst
yuzu-221613d4ead717dc788d0f391c22c31db5fe2530.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/sm/controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/service/sm/controller.cpp b/src/core/hle/service/sm/controller.cpp
index 74da4d5e6..e9ee73710 100644
--- a/src/core/hle/service/sm/controller.cpp
+++ b/src/core/hle/service/sm/controller.cpp
@@ -30,7 +30,7 @@ void Controller::DuplicateSession(Kernel::HLERequestContext& ctx) {
IPC::ResponseBuilder rb{ctx, 2, 0, 1, IPC::ResponseBuilder::Flags::AlwaysMoveHandles};
rb.Push(RESULT_SUCCESS);
- Kernel::SharedPtr<Kernel::ClientSession> session{ctx.Session()->parent->client};
+ Kernel::SharedPtr<Kernel::ClientSession> session{ctx.Session()->GetParent()->client};
rb.PushMoveObjects(session);
LOG_DEBUG(Service, "session={}", session->GetObjectId());