From ad965501d06d2df81ef59f4c2e05e3425530b971 Mon Sep 17 00:00:00 2001 From: Subv Date: Sun, 7 Jan 2018 10:26:35 -0500 Subject: IPC: Corrected some command headers in the IPC Controller interface. --- src/core/hle/service/sm/controller.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/core') diff --git a/src/core/hle/service/sm/controller.cpp b/src/core/hle/service/sm/controller.cpp index 7acc5c3b2..392a3b2fe 100644 --- a/src/core/hle/service/sm/controller.cpp +++ b/src/core/hle/service/sm/controller.cpp @@ -15,14 +15,13 @@ void Controller::ConvertSessionToDomain(Kernel::HLERequestContext& ctx) { IPC::RequestBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Skip(1, true); - rb.Push(static_cast(domain->request_handlers.size())); + rb.Push(static_cast(domain->request_handlers.size())); LOG_DEBUG(Service, "called, domain=%d", domain->GetObjectId()); } void Controller::DuplicateSession(Kernel::HLERequestContext& ctx) { - IPC::RequestBuilder rb{ctx, 1, 0, 1}; + IPC::RequestBuilder rb{ctx, 2, 0, 1}; rb.Push(RESULT_SUCCESS); rb.PushMoveObjects(ctx.ServerSession()); @@ -32,7 +31,6 @@ void Controller::DuplicateSession(Kernel::HLERequestContext& ctx) { void Controller::QueryPointerBufferSize(Kernel::HLERequestContext& ctx) { IPC::RequestBuilder rb{ctx, 3}; rb.Push(RESULT_SUCCESS); - rb.Skip(1, true); rb.Push(0x500); LOG_WARNING(Service, "(STUBBED) called"); -- cgit v1.2.3