VERY experimental Nintendo Switch 2 emulator
C++
logger: Add PCTL service logging category.
bunnei18ce7f89f917
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cppindex 9af9f531bc..6dcfaed691 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.hindex 6897a10362..b7d3e1c4f7 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 implementationService_NIFM, ///< The NIFM (Network interface) serviceService_NVDRV, ///< The NVDRV (Nvidia driver) service+ Service_PCTL, ///< The PCTL (Parental control) serviceService_Audio, ///< The Audio (Audio control) serviceService_VI, ///< The VI (Video interface) serviceHW, ///< Low-level hardware emulationdiff --git a/src/core/hle/service/pctl/pctl_a.cpp b/src/core/hle/service/pctl/pctl_a.cppindex c808b764bb..c65fffa070 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") {