summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-02-05 04:44:00 +0100
committerbunnei <bunneidev@gmail.com>2018-02-05 04:44:00 +0100
commitfc1359dc03cac8df8c4dcddf48b67de6622b97a4 (patch)
treef5ce08f7e2ab362658761a03729b66365aa2c899 /src
parentlogger: Add LM service logging category. (diff)
downloadyuzu-fc1359dc03cac8df8c4dcddf48b67de6622b97a4.tar
yuzu-fc1359dc03cac8df8c4dcddf48b67de6622b97a4.tar.gz
yuzu-fc1359dc03cac8df8c4dcddf48b67de6622b97a4.tar.bz2
yuzu-fc1359dc03cac8df8c4dcddf48b67de6622b97a4.tar.lz
yuzu-fc1359dc03cac8df8c4dcddf48b67de6622b97a4.tar.xz
yuzu-fc1359dc03cac8df8c4dcddf48b67de6622b97a4.tar.zst
yuzu-fc1359dc03cac8df8c4dcddf48b67de6622b97a4.zip
Diffstat (limited to 'src')
-rw-r--r--src/common/logging/backend.cpp1
-rw-r--r--src/common/logging/log.h1
-rw-r--r--src/core/hle/service/pctl/pctl_a.cpp2
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 {
SUB(Service, LM) \
SUB(Service, NIFM) \
SUB(Service, NVDRV) \
+ SUB(Service, PCTL) \
SUB(Service, Audio) \
SUB(Service, VI) \
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 {
Service_LM, ///< The LM (Logger) service implementation
Service_NIFM, ///< The NIFM (Network interface) service
Service_NVDRV, ///< The NVDRV (Nvidia driver) service
+ Service_PCTL, ///< The PCTL (Parental control) service
Service_Audio, ///< The Audio (Audio control) service
Service_VI, ///< The VI (Video interface) service
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) {
IPC::ResponseBuilder rb{ctx, 2, 0, 1};
rb.Push(RESULT_SUCCESS);
rb.PushIpcInterface<IParentalControlService>();
- LOG_DEBUG(Service, "called");
+ LOG_DEBUG(Service_PCTL, "called");
}
PCTL_A::PCTL_A() : ServiceFramework("pctl:a") {