From c12c756539454908cf9868fc63d2425b3c87b1a3 Mon Sep 17 00:00:00 2001 From: Subv Date: Sun, 7 Jan 2018 10:39:57 -0500 Subject: IPC: Make DuplicateSession return the Domain instead of the Session if the request was made on a Domain interface. --- src/core/hle/service/pctl/pctl_a.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/core/hle/service/pctl') diff --git a/src/core/hle/service/pctl/pctl_a.cpp b/src/core/hle/service/pctl/pctl_a.cpp index e3bdd6c47..9fef0bcf1 100644 --- a/src/core/hle/service/pctl/pctl_a.cpp +++ b/src/core/hle/service/pctl/pctl_a.cpp @@ -11,8 +11,9 @@ namespace PCTL { void PCTL_A::GetService(Kernel::HLERequestContext& ctx) { LOG_WARNING(Service, "(STUBBED) called"); - IPC::RequestBuilder rb{ctx, 1}; + IPC::RequestBuilder rb{ctx, 2}; rb.Push(RESULT_SUCCESS); + // TODO(Subv): This should return an IParentalControlService interface. } PCTL_A::PCTL_A() : ServiceFramework("pctl:a") { -- cgit v1.2.3