mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-11-23 17:13:03 +00:00
pctl: GetService should return an IParentalControlService interface.
This commit is contained in:
parent
5bc14ab0de
commit
1148e2ce7b
1 changed files with 8 additions and 3 deletions
|
@ -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") {
|
||||
|
|
Loading…
Reference in a new issue