diff options
| author | 2018-02-04 22:44:00 -0500 | |
|---|---|---|
| committer | 2018-02-04 22:44:00 -0500 | |
| commit | fc1359dc03cac8df8c4dcddf48b67de6622b97a4 (patch) | |
| tree | f5ce08f7e2ab362658761a03729b66365aa2c899 /src | |
| parent | logger: Add LM service logging category. (diff) | |
| download | yuzu-fc1359dc03cac8df8c4dcddf48b67de6622b97a4.tar.gz yuzu-fc1359dc03cac8df8c4dcddf48b67de6622b97a4.tar.xz yuzu-fc1359dc03cac8df8c4dcddf48b67de6622b97a4.zip | |
logger: Add PCTL service logging category.
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/logging/backend.cpp | 1 | ||||
| -rw-r--r-- | src/common/logging/log.h | 1 | ||||
| -rw-r--r-- | src/core/hle/service/pctl/pctl_a.cpp | 2 |
3 files changed, 3 insertions, 1 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 9af9f531b..6dcfaed69 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp | |||
| @@ -44,6 +44,7 @@ namespace Log { | |||
| 44 | SUB(Service, LM) \ | 44 | SUB(Service, LM) \ |
| 45 | SUB(Service, NIFM) \ | 45 | SUB(Service, NIFM) \ |
| 46 | SUB(Service, NVDRV) \ | 46 | SUB(Service, NVDRV) \ |
| 47 | SUB(Service, PCTL) \ | ||
| 47 | SUB(Service, Audio) \ | 48 | SUB(Service, Audio) \ |
| 48 | SUB(Service, VI) \ | 49 | SUB(Service, VI) \ |
| 49 | CLS(HW) \ | 50 | CLS(HW) \ |
diff --git a/src/common/logging/log.h b/src/common/logging/log.h index 6897a1036..b7d3e1c4f 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h | |||
| @@ -61,6 +61,7 @@ enum class Class : ClassType { | |||
| 61 | Service_LM, ///< The LM (Logger) service implementation | 61 | Service_LM, ///< The LM (Logger) service implementation |
| 62 | Service_NIFM, ///< The NIFM (Network interface) service | 62 | Service_NIFM, ///< The NIFM (Network interface) service |
| 63 | Service_NVDRV, ///< The NVDRV (Nvidia driver) service | 63 | Service_NVDRV, ///< The NVDRV (Nvidia driver) service |
| 64 | Service_PCTL, ///< The PCTL (Parental control) service | ||
| 64 | Service_Audio, ///< The Audio (Audio control) service | 65 | Service_Audio, ///< The Audio (Audio control) service |
| 65 | Service_VI, ///< The VI (Video interface) service | 66 | Service_VI, ///< The VI (Video interface) service |
| 66 | HW, ///< Low-level hardware emulation | 67 | HW, ///< Low-level hardware emulation |
diff --git a/src/core/hle/service/pctl/pctl_a.cpp b/src/core/hle/service/pctl/pctl_a.cpp index c808b764b..c65fffa07 100644 --- a/src/core/hle/service/pctl/pctl_a.cpp +++ b/src/core/hle/service/pctl/pctl_a.cpp | |||
| @@ -18,7 +18,7 @@ void PCTL_A::GetService(Kernel::HLERequestContext& ctx) { | |||
| 18 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; | 18 | IPC::ResponseBuilder rb{ctx, 2, 0, 1}; |
| 19 | rb.Push(RESULT_SUCCESS); | 19 | rb.Push(RESULT_SUCCESS); |
| 20 | rb.PushIpcInterface<IParentalControlService>(); | 20 | rb.PushIpcInterface<IParentalControlService>(); |
| 21 | LOG_DEBUG(Service, "called"); | 21 | LOG_DEBUG(Service_PCTL, "called"); |
| 22 | } | 22 | } |
| 23 | 23 | ||
| 24 | PCTL_A::PCTL_A() : ServiceFramework("pctl:a") { | 24 | PCTL_A::PCTL_A() : ServiceFramework("pctl:a") { |