summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Narr the Reg2021-11-05 10:16:19 -0600
committerGravatar GitHub2021-11-05 12:16:19 -0400
commitced130297568cba5787f78daf911a2a07e506c34 (patch)
tree13619c6fa37f9e30c4317eee5776f3efb86588fc
parentvulkan_device: Add missing vulkan image format R5G6B5 in GetFormatProperties (diff)
downloadyuzu-ced130297568cba5787f78daf911a2a07e506c34.tar.gz
yuzu-ced130297568cba5787f78daf911a2a07e506c34.tar.xz
yuzu-ced130297568cba5787f78daf911a2a07e506c34.zip
service/pctl: Stub EndFreeCommunication
- Used by Just Dance 2022
-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 be77975ff..240776101 100644
--- a/src/core/hle/service/pctl/pctl_module.cpp
+++ b/src/core/hle/service/pctl/pctl_module.cpp
@@ -44,7 +44,7 @@ public:
44 {1014, nullptr, "ConfirmPlayableApplicationVideoOld"}, 44 {1014, nullptr, "ConfirmPlayableApplicationVideoOld"},
45 {1015, nullptr, "ConfirmPlayableApplicationVideo"}, 45 {1015, nullptr, "ConfirmPlayableApplicationVideo"},
46 {1016, nullptr, "ConfirmShowNewsPermission"}, 46 {1016, nullptr, "ConfirmShowNewsPermission"},
47 {1017, nullptr, "EndFreeCommunication"}, 47 {1017, &IParentalControlService::EndFreeCommunication, "EndFreeCommunication"},
48 {1018, &IParentalControlService::IsFreeCommunicationAvailable, "IsFreeCommunicationAvailable"}, 48 {1018, &IParentalControlService::IsFreeCommunicationAvailable, "IsFreeCommunicationAvailable"},
49 {1031, &IParentalControlService::IsRestrictionEnabled, "IsRestrictionEnabled"}, 49 {1031, &IParentalControlService::IsRestrictionEnabled, "IsRestrictionEnabled"},
50 {1032, nullptr, "GetSafetyLevel"}, 50 {1032, nullptr, "GetSafetyLevel"},
@@ -236,6 +236,13 @@ private:
236 rb.Push(ResultSuccess); 236 rb.Push(ResultSuccess);
237 } 237 }
238 238
239 void EndFreeCommunication(Kernel::HLERequestContext& ctx) {
240 LOG_WARNING(Service_PCTL, "(STUBBED) called");
241
242 IPC::ResponseBuilder rb{ctx, 2};
243 rb.Push(ResultSuccess);
244 }
245
239 void IsFreeCommunicationAvailable(Kernel::HLERequestContext& ctx) { 246 void IsFreeCommunicationAvailable(Kernel::HLERequestContext& ctx) {
240 LOG_WARNING(Service_PCTL, "(STUBBED) called"); 247 LOG_WARNING(Service_PCTL, "(STUBBED) called");
241 248