diff options
author | bunnei <bunneidev@gmail.com> | 2018-08-20 17:00:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-20 17:00:26 +0200 |
commit | 185b35bfcddb2b959d32cb436c1f65b0be8e3724 (patch) | |
tree | 98277a21e506c4ed857806e129259d7d1895df29 /src/core/hle/service | |
parent | Merge pull request #1017 from ogniK5377/better-account (diff) | |
parent | Added CheckFreeCommunicationPermission (diff) | |
download | yuzu-185b35bfcddb2b959d32cb436c1f65b0be8e3724.tar yuzu-185b35bfcddb2b959d32cb436c1f65b0be8e3724.tar.gz yuzu-185b35bfcddb2b959d32cb436c1f65b0be8e3724.tar.bz2 yuzu-185b35bfcddb2b959d32cb436c1f65b0be8e3724.tar.lz yuzu-185b35bfcddb2b959d32cb436c1f65b0be8e3724.tar.xz yuzu-185b35bfcddb2b959d32cb436c1f65b0be8e3724.tar.zst yuzu-185b35bfcddb2b959d32cb436c1f65b0be8e3724.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/pctl/module.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/pctl/module.cpp b/src/core/hle/service/pctl/module.cpp index fcf1f3da3..6cc3b1992 100644 --- a/src/core/hle/service/pctl/module.cpp +++ b/src/core/hle/service/pctl/module.cpp @@ -14,7 +14,8 @@ public: IParentalControlService() : ServiceFramework("IParentalControlService") { static const FunctionInfo functions[] = { {1, &IParentalControlService::Initialize, "Initialize"}, - {1001, nullptr, "CheckFreeCommunicationPermission"}, + {1001, &IParentalControlService::CheckFreeCommunicationPermission, + "CheckFreeCommunicationPermission"}, {1002, nullptr, "ConfirmLaunchApplicationPermission"}, {1003, nullptr, "ConfirmResumeApplicationPermission"}, {1004, nullptr, "ConfirmSnsPostPermission"}, @@ -116,6 +117,12 @@ private: IPC::ResponseBuilder rb{ctx, 2, 0, 0}; rb.Push(RESULT_SUCCESS); } + + void CheckFreeCommunicationPermission(Kernel::HLERequestContext& ctx) { + LOG_WARNING(Service_PCTL, "(STUBBED) called"); + IPC::ResponseBuilder rb{ctx, 2}; + rb.Push(RESULT_SUCCESS); + } }; void Module::Interface::CreateService(Kernel::HLERequestContext& ctx) { |