diff --git a/app/src/main/cpp/skyline/services/pctl/IParentalControlService.cpp b/app/src/main/cpp/skyline/services/pctl/IParentalControlService.cpp index 4f4443de..07b82fbf 100644 --- a/app/src/main/cpp/skyline/services/pctl/IParentalControlService.cpp +++ b/app/src/main/cpp/skyline/services/pctl/IParentalControlService.cpp @@ -5,4 +5,8 @@ namespace skyline::service::pctl { IParentalControlService::IParentalControlService(const DeviceState &state, ServiceManager &manager) : BaseService(state, manager) {} + + Result IParentalControlService::Initialize(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response) { + return {}; + } } diff --git a/app/src/main/cpp/skyline/services/pctl/IParentalControlService.h b/app/src/main/cpp/skyline/services/pctl/IParentalControlService.h index db4949ba..03f47060 100644 --- a/app/src/main/cpp/skyline/services/pctl/IParentalControlService.h +++ b/app/src/main/cpp/skyline/services/pctl/IParentalControlService.h @@ -13,5 +13,14 @@ namespace skyline::service::pctl { class IParentalControlService : public BaseService { public: IParentalControlService(const DeviceState &state, ServiceManager &manager); + + /** + * @brief Initialises the parental control service instance + */ + Result Initialize(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response); + + SERVICE_DECL( + SFUNC(0x1, IParentalControlService, Initialize) + ) }; } diff --git a/app/src/main/cpp/skyline/services/pctl/IParentalControlServiceFactory.h b/app/src/main/cpp/skyline/services/pctl/IParentalControlServiceFactory.h index 0effddd9..70b1f07a 100644 --- a/app/src/main/cpp/skyline/services/pctl/IParentalControlServiceFactory.h +++ b/app/src/main/cpp/skyline/services/pctl/IParentalControlServiceFactory.h @@ -15,7 +15,7 @@ namespace skyline::service::pctl { IParentalControlServiceFactory(const DeviceState &state, ServiceManager &manager); /** - * @brief Creates and initializes an IParentalControlService instance that can be used to read parental control configuration + * @brief Creates and initializes (if 0x0) an IParentalControlService instance that can be used to read parental control configuration */ Result CreateService(type::KSession &session, ipc::IpcRequest &request, ipc::IpcResponse &response);