summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/pctl
diff options
context:
space:
mode:
authorNarr the Reg <juangerman-13@hotmail.com>2023-10-01 21:00:30 +0200
committerNarr the Reg <juangerman-13@hotmail.com>2023-10-08 04:57:10 +0200
commit0bb7990c4919b466658c8d75927ae92a76e86877 (patch)
treef08cb1c83a60fbd821642f70b41b5b8a2adc49a6 /src/core/hle/service/pctl
parentservice: caps: Partially implement IAlbumAccessorService (diff)
downloadyuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.gz
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.bz2
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.lz
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.xz
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.tar.zst
yuzu-0bb7990c4919b466658c8d75927ae92a76e86877.zip
Diffstat (limited to 'src/core/hle/service/pctl')
-rw-r--r--src/core/hle/service/pctl/pctl_module.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/hle/service/pctl/pctl_module.cpp b/src/core/hle/service/pctl/pctl_module.cpp
index 5db1703d1..938330dd0 100644
--- a/src/core/hle/service/pctl/pctl_module.cpp
+++ b/src/core/hle/service/pctl/pctl_module.cpp
@@ -33,7 +33,7 @@ public:
{1001, &IParentalControlService::CheckFreeCommunicationPermission, "CheckFreeCommunicationPermission"},
{1002, nullptr, "ConfirmLaunchApplicationPermission"},
{1003, nullptr, "ConfirmResumeApplicationPermission"},
- {1004, nullptr, "ConfirmSnsPostPermission"},
+ {1004, &IParentalControlService::ConfirmSnsPostPermission, "ConfirmSnsPostPermission"},
{1005, nullptr, "ConfirmSystemSettingsPermission"},
{1006, &IParentalControlService::IsRestrictionTemporaryUnlocked, "IsRestrictionTemporaryUnlocked"},
{1007, nullptr, "RevertRestrictionTemporaryUnlocked"},
@@ -236,6 +236,13 @@ private:
states.free_communication = true;
}
+ void ConfirmSnsPostPermission(HLERequestContext& ctx) {
+ LOG_WARNING(Service_PCTL, "(STUBBED) called");
+
+ IPC::ResponseBuilder rb{ctx, 2};
+ rb.Push(Error::ResultNoFreeCommunication);
+ }
+
void IsRestrictionTemporaryUnlocked(HLERequestContext& ctx) {
const bool is_temporary_unlocked = false;