VERY experimental Nintendo Switch 2 emulator
C++
pctl: GetService should return an IParentalControlService interface.
bunneic8359e72f5cd
diff --git a/src/core/hle/service/pctl/pctl_a.cpp b/src/core/hle/service/pctl/pctl_a.cppindex 904a31c6b7..8d44627732 100644--- a/src/core/hle/service/pctl/pctl_a.cpp+++ b/src/core/hle/service/pctl/pctl_a.cpp@@ -9,11 +9,16 @@namespace Service {namespace PCTL {+class IParentalControlService final : public ServiceFramework<IParentalControlService> {+public:+ IParentalControlService() : ServiceFramework("IParentalControlService") {}+};+void PCTL_A::GetService(Kernel::HLERequestContext& ctx) {- LOG_WARNING(Service, "(STUBBED) called");- IPC::RequestBuilder rb{ctx, 2};+ IPC::RequestBuilder rb{ ctx, 2, 0, 0, 1 };rb.Push(RESULT_SUCCESS);- // TODO(Subv): This should return an IParentalControlService interface.+ rb.PushIpcInterface<IParentalControlService>();+ LOG_DEBUG(Service, "called");}PCTL_A::PCTL_A() : ServiceFramework("pctl:a") {