From 482dc91dd6491b37d2f517f84de10c1c5dc4af4f Mon Sep 17 00:00:00 2001 From: Valentin Vanelslande Date: Fri, 29 Jun 2018 13:03:16 -0500 Subject: [PATCH 1/2] Service/DLP: Fix IsChild --- src/core/hle/service/dlp/dlp_srvr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/service/dlp/dlp_srvr.cpp b/src/core/hle/service/dlp/dlp_srvr.cpp index bbfe55a65..1b11cdfd2 100644 --- a/src/core/hle/service/dlp/dlp_srvr.cpp +++ b/src/core/hle/service/dlp/dlp_srvr.cpp @@ -12,7 +12,7 @@ namespace Service { namespace DLP { void DLP_SRVR::IsChild(Kernel::HLERequestContext& ctx) { - IPC::RequestParser rp(ctx, 0x0E, 0, 0); + IPC::RequestParser rp(ctx, 0x0E, 1, 0); IPC::RequestBuilder rb = rp.MakeBuilder(2, 0); rb.Push(RESULT_SUCCESS); From 7ffcf71d5db20ddb5499574011486a843a0842d8 Mon Sep 17 00:00:00 2001 From: Valentin Vanelslande Date: Fri, 29 Jun 2018 13:40:03 -0500 Subject: [PATCH 2/2] Service/DLP: IsChild: Skip parameter --- src/core/hle/service/dlp/dlp_srvr.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/core/hle/service/dlp/dlp_srvr.cpp b/src/core/hle/service/dlp/dlp_srvr.cpp index 1b11cdfd2..97596a39d 100644 --- a/src/core/hle/service/dlp/dlp_srvr.cpp +++ b/src/core/hle/service/dlp/dlp_srvr.cpp @@ -13,6 +13,7 @@ namespace DLP { void DLP_SRVR::IsChild(Kernel::HLERequestContext& ctx) { IPC::RequestParser rp(ctx, 0x0E, 1, 0); + rp.Skip(1, false); IPC::RequestBuilder rb = rp.MakeBuilder(2, 0); rb.Push(RESULT_SUCCESS);