aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/service/sm/controller.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-01-07 01:50:55 -0500
committerbunnei <bunneidev@gmail.com>2018-01-07 17:11:47 -0500
commitfd93b1e0ef4290d01df45f0f7936d89ff8f30044 (patch)
tree2050e904e2f1933bfadbc96d1a0bc698c39a08ce /src/core/hle/service/sm/controller.cpp
parent6a6013d4c361b54b76be0f56b9784cede13c595d (diff)
IPC Cleanup: Remove 3DS-specific code and translate copy, move and domain objects in IPC requests.
Popping objects from the buffer is still not implemented.
Diffstat (limited to 'src/core/hle/service/sm/controller.cpp')
-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 8d17e0ef6b..7acc5c3b29 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");
}