summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2019-03-07 21:31:26 +0100
committerGitHub <noreply@github.com>2019-03-07 21:31:26 +0100
commitc63a0e88b76f55e4759f001b9e4d3713b69e44eb (patch)
treee5a4150afd3fc32b03d7c9b99d7a6d1bba9497d8 /src/core/hle/service
parentMerge pull request #2205 from FearlessTobi/docked-undocked-hotkey (diff)
parentkernel/server_session: Make data members private (diff)
downloadyuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar.gz
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar.bz2
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar.lz
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar.xz
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.tar.zst
yuzu-c63a0e88b76f55e4759f001b9e4d3713b69e44eb.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());