summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-01-07 16:26:35 +0100
committerbunnei <bunneidev@gmail.com>2018-01-07 23:12:03 +0100
commitad965501d06d2df81ef59f4c2e05e3425530b971 (patch)
treed72bd959b1c460ff0ed6f7ae6a79ee329942c81b /src
parentIPC: Corrected some command header sizes in appletOE. (diff)
downloadyuzu-ad965501d06d2df81ef59f4c2e05e3425530b971.tar
yuzu-ad965501d06d2df81ef59f4c2e05e3425530b971.tar.gz
yuzu-ad965501d06d2df81ef59f4c2e05e3425530b971.tar.bz2
yuzu-ad965501d06d2df81ef59f4c2e05e3425530b971.tar.lz
yuzu-ad965501d06d2df81ef59f4c2e05e3425530b971.tar.xz
yuzu-ad965501d06d2df81ef59f4c2e05e3425530b971.tar.zst
yuzu-ad965501d06d2df81ef59f4c2e05e3425530b971.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/service/sm/controller.cpp6
1 files changed, 2 insertions, 4 deletions
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<u32>(static_cast<u32>(domain->request_handlers.size()));
+ rb.Push(static_cast<u32>(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<u32>(0x500);
LOG_WARNING(Service, "(STUBBED) called");