summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-01-15 21:10:18 +0100
committerbunnei <bunneidev@gmail.com>2018-01-15 21:10:18 +0100
commit1148e2ce7bfad1c43ec1ba50e41f447fa1d782f1 (patch)
tree3191a827b60a16ddd2e4f5e9896823d66d52310c
parentapplet_oe: Stub SetFocusHandlingMode, GetCurrentFocusState, SetTerminateResult. (diff)
downloadyuzu-1148e2ce7bfad1c43ec1ba50e41f447fa1d782f1.tar
yuzu-1148e2ce7bfad1c43ec1ba50e41f447fa1d782f1.tar.gz
yuzu-1148e2ce7bfad1c43ec1ba50e41f447fa1d782f1.tar.bz2
yuzu-1148e2ce7bfad1c43ec1ba50e41f447fa1d782f1.tar.lz
yuzu-1148e2ce7bfad1c43ec1ba50e41f447fa1d782f1.tar.xz
yuzu-1148e2ce7bfad1c43ec1ba50e41f447fa1d782f1.tar.zst
yuzu-1148e2ce7bfad1c43ec1ba50e41f447fa1d782f1.zip
-rw-r--r--src/core/hle/service/pctl/pctl_a.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/core/hle/service/pctl/pctl_a.cpp b/src/core/hle/service/pctl/pctl_a.cpp
index 904a31c6b..8d4462773 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") {