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
commit0368324f7925fe5568072299a0206ec71afee865 (patch)
tree2050e904e2f1933bfadbc96d1a0bc698c39a08ce /src/core/hle/service/sm/controller.cpp
parentb0ceb4df70c8a387e12e2df0d1031421493ad744 (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 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");
}