mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-11-30 05:34:18 +01:00
Stub CheckFreeCommunicationPermission and IsFreeCommunicationAvailable
This commit is contained in:
parent
ec81c97fa9
commit
cc37d2231d
@ -9,4 +9,14 @@ namespace skyline::service::pctl {
|
|||||||
Result IParentalControlService::Initialize(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
Result IParentalControlService::Initialize(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) {
|
||||||
return {};
|
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 {};
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -19,8 +19,14 @@ namespace skyline::service::pctl {
|
|||||||
*/
|
*/
|
||||||
Result Initialize(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);
|
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(
|
SERVICE_DECL(
|
||||||
SFUNC(0x1, IParentalControlService, Initialize)
|
SFUNC(0x1, IParentalControlService, Initialize),
|
||||||
|
SFUNC(0x3E9, IParentalControlService, CheckFreeCommunicationPermission),
|
||||||
|
SFUNC(0x3FA, IParentalControlService, IsFreeCommunicationAvailable)
|
||||||
)
|
)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user