diff options
author | Subv <subv2112@gmail.com> | 2018-01-07 07:50:55 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-01-07 23:11:47 +0100 |
commit | 0368324f7925fe5568072299a0206ec71afee865 (patch) | |
tree | 2050e904e2f1933bfadbc96d1a0bc698c39a08ce /src/core/hle/service | |
parent | IPC: Skip the entire u64 of the command id when receiving an IPC request. (diff) | |
download | yuzu-0368324f7925fe5568072299a0206ec71afee865.tar yuzu-0368324f7925fe5568072299a0206ec71afee865.tar.gz yuzu-0368324f7925fe5568072299a0206ec71afee865.tar.bz2 yuzu-0368324f7925fe5568072299a0206ec71afee865.tar.lz yuzu-0368324f7925fe5568072299a0206ec71afee865.tar.xz yuzu-0368324f7925fe5568072299a0206ec71afee865.tar.zst yuzu-0368324f7925fe5568072299a0206ec71afee865.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/service/am/applet_oe.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/lm/lm.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/sm/controller.cpp | 2 | ||||
-rw-r--r-- | src/core/hle/service/sm/sm.cpp | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cpp index 6fe7bdce5..34cc67f34 100644 --- a/src/core/hle/service/am/applet_oe.cpp +++ b/src/core/hle/service/am/applet_oe.cpp @@ -73,7 +73,7 @@ private: IPC::RequestBuilder rb{ctx, 2, 1}; rb.Push(RESULT_SUCCESS); - rb.PushObjects(event); + rb.PushCopyObjects(event); LOG_WARNING(Service, "(STUBBED) called"); } diff --git a/src/core/hle/service/lm/lm.cpp b/src/core/hle/service/lm/lm.cpp index bf9e98bb5..edbee39f5 100644 --- a/src/core/hle/service/lm/lm.cpp +++ b/src/core/hle/service/lm/lm.cpp @@ -150,7 +150,7 @@ void LM::Initialize(Kernel::HLERequestContext& ctx) { (*session)->GetObjectId()); IPC::RequestBuilder rb{ctx, 1, 0, 1}; rb.Push(RESULT_SUCCESS); - rb.PushObjects(std::move(session).Unwrap()); + rb.PushMoveObjects(std::move(session).Unwrap()); registered_loggers.emplace_back(std::move(client_port)); } else { UNIMPLEMENTED(); diff --git a/src/core/hle/service/sm/controller.cpp b/src/core/hle/service/sm/controller.cpp index 8d17e0ef6..7acc5c3b2 100644 --- a/src/core/hle/service/sm/controller.cpp +++ b/src/core/hle/service/sm/controller.cpp @@ -24,7 +24,7 @@ void Controller::ConvertSessionToDomain(Kernel::HLERequestContext& ctx) { void Controller::DuplicateSession(Kernel::HLERequestContext& ctx) { IPC::RequestBuilder rb{ctx, 1, 0, 1}; rb.Push(RESULT_SUCCESS); - rb.PushObjects(ctx.ServerSession()); + rb.PushMoveObjects(ctx.ServerSession()); LOG_DEBUG(Service, "called"); } diff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cpp index 279908cae..f1d93ea2b 100644 --- a/src/core/hle/service/sm/sm.cpp +++ b/src/core/hle/service/sm/sm.cpp @@ -121,7 +121,7 @@ void SM::GetService(Kernel::HLERequestContext& ctx) { (*session)->GetObjectId()); IPC::RequestBuilder rb = rp.MakeBuilder(2, 0, 1); rb.Push<u64>(0); - rb.PushObjects(std::move(session).Unwrap()); + rb.PushMoveObjects(std::move(session).Unwrap()); } } |