summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/sm/sm.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-24 04:33:30 +0100
committerbunnei <bunneidev@gmail.com>2018-01-25 04:24:20 +0100
commit714a57611397abecf95cdfbe8295ece64e66b3b7 (patch)
treeda70a95761bff5e988c7a8c47e5d0a74a144a424 /src/core/hle/service/sm/sm.cpp
parenttime: Stub GetSystemClockContext function. (diff)
downloadyuzu-714a57611397abecf95cdfbe8295ece64e66b3b7.tar
yuzu-714a57611397abecf95cdfbe8295ece64e66b3b7.tar.gz
yuzu-714a57611397abecf95cdfbe8295ece64e66b3b7.tar.bz2
yuzu-714a57611397abecf95cdfbe8295ece64e66b3b7.tar.lz
yuzu-714a57611397abecf95cdfbe8295ece64e66b3b7.tar.xz
yuzu-714a57611397abecf95cdfbe8295ece64e66b3b7.tar.zst
yuzu-714a57611397abecf95cdfbe8295ece64e66b3b7.zip
Diffstat (limited to 'src/core/hle/service/sm/sm.cpp')
-rw-r--r--src/core/hle/service/sm/sm.cpp3
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 eeee4a029..73aa013e3 100644
--- a/src/core/hle/service/sm/sm.cpp
+++ b/src/core/hle/service/sm/sm.cpp
@@ -112,7 +112,8 @@ void SM::GetService(Kernel::HLERequestContext& ctx) {
if (session.Succeeded()) {
LOG_DEBUG(Service_SM, "called service=%s -> session=%u", name.c_str(),
(*session)->GetObjectId());
- IPC::ResponseBuilder rb = rp.MakeBuilder(2, 0, 1, true);
+ IPC::ResponseBuilder rb =
+ rp.MakeBuilder(2, 0, 1, IPC::ResponseBuilder::Flags::AlwaysMoveHandles);
rb.Push(session.Code());
rb.PushMoveObjects(std::move(session).Unwrap());
}