mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-11-24 12:26:26 -05:00
logger: Add PCTL service logging category.
This commit is contained in:
parent
649960b4eb
commit
fc1359dc03
3 changed files with 3 additions and 1 deletions
|
@ -44,6 +44,7 @@ namespace Log {
|
||||||
SUB(Service, LM) \
|
SUB(Service, LM) \
|
||||||
SUB(Service, NIFM) \
|
SUB(Service, NIFM) \
|
||||||
SUB(Service, NVDRV) \
|
SUB(Service, NVDRV) \
|
||||||
|
SUB(Service, PCTL) \
|
||||||
SUB(Service, Audio) \
|
SUB(Service, Audio) \
|
||||||
SUB(Service, VI) \
|
SUB(Service, VI) \
|
||||||
CLS(HW) \
|
CLS(HW) \
|
||||||
|
|
|
@ -61,6 +61,7 @@ enum class Class : ClassType {
|
||||||
Service_LM, ///< The LM (Logger) service implementation
|
Service_LM, ///< The LM (Logger) service implementation
|
||||||
Service_NIFM, ///< The NIFM (Network interface) service
|
Service_NIFM, ///< The NIFM (Network interface) service
|
||||||
Service_NVDRV, ///< The NVDRV (Nvidia driver) service
|
Service_NVDRV, ///< The NVDRV (Nvidia driver) service
|
||||||
|
Service_PCTL, ///< The PCTL (Parental control) service
|
||||||
Service_Audio, ///< The Audio (Audio control) service
|
Service_Audio, ///< The Audio (Audio control) service
|
||||||
Service_VI, ///< The VI (Video interface) service
|
Service_VI, ///< The VI (Video interface) service
|
||||||
HW, ///< Low-level hardware emulation
|
HW, ///< Low-level hardware emulation
|
||||||
|
|
|
@ -18,7 +18,7 @@ void PCTL_A::GetService(Kernel::HLERequestContext& ctx) {
|
||||||
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
|
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
|
||||||
rb.Push(RESULT_SUCCESS);
|
rb.Push(RESULT_SUCCESS);
|
||||||
rb.PushIpcInterface<IParentalControlService>();
|
rb.PushIpcInterface<IParentalControlService>();
|
||||||
LOG_DEBUG(Service, "called");
|
LOG_DEBUG(Service_PCTL, "called");
|
||||||
}
|
}
|
||||||
|
|
||||||
PCTL_A::PCTL_A() : ServiceFramework("pctl:a") {
|
PCTL_A::PCTL_A() : ServiceFramework("pctl:a") {
|
||||||
|
|
Loading…
Reference in a new issue