Stub CheckFreeCommunicationPermission and IsFreeCommunicationAvailable

This commit is contained in:
Dima 2022-11-03 18:13:35 +03:00 committed by Billy Laws
parent ec81c97fa9
commit cc37d2231d
2 changed files with 17 additions and 1 deletions

View File

@ -9,4 +9,14 @@ namespace skyline::service::pctl {
Result IParentalControlService::Initialize(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
return {};
}
Result IParentalControlService::CheckFreeCommunicationPermission(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
response.Push<u8>(0);
return {};
}
Result IParentalControlService::IsFreeCommunicationAvailable(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
response.Push<u8>(0);
return {};
}
}

View File

@ -19,8 +19,14 @@ namespace skyline::service::pctl {
*/
Result Initialize(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
Result CheckFreeCommunicationPermission(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
Result IsFreeCommunicationAvailable(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
SERVICE_DECL(
SFUNC(0x1, IParentalControlService, Initialize)
SFUNC(0x1, IParentalControlService, Initialize),
SFUNC(0x3E9, IParentalControlService, CheckFreeCommunicationPermission),
SFUNC(0x3FA, IParentalControlService, IsFreeCommunicationAvailable)
)
};
}