VERY experimental Nintendo Switch 2 emulator
C++
logger: Add SET service logging category.
bunnei99ff0f523fc1
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cppindex 6dcfaed691..2848fe1166 100644--- a/src/common/logging/backend.cpp+++ b/src/common/logging/backend.cpp@@ -33,19 +33,17 @@ namespace Log {SUB(Kernel, SVC) \CLS(Service) \SUB(Service, ACC) \+ SUB(Service, Audio) \SUB(Service, AM) \SUB(Service, APM) \- SUB(Service, SM) \SUB(Service, FS) \- SUB(Service, GSP) \- SUB(Service, CFG) \- SUB(Service, DSP) \SUB(Service, HID) \SUB(Service, LM) \SUB(Service, NIFM) \SUB(Service, NVDRV) \SUB(Service, PCTL) \- SUB(Service, Audio) \+ SUB(Service, SET) \+ SUB(Service, SM) \SUB(Service, VI) \CLS(HW) \SUB(HW, Memory) \diff --git a/src/common/logging/log.h b/src/common/logging/log.hindex b7d3e1c4f7..f7336cea8d 100644--- a/src/common/logging/log.h+++ b/src/common/logging/log.h@@ -49,20 +49,18 @@ enum class Class : ClassType {Kernel_SVC, ///< Kernel system callsService, ///< HLE implementation of system services. Each major service/// should have its own subclass.- Service_ACC, ///< The ACC (Account service) implementation- Service_AM, ///< The AM (Applet manager service) implementation- Service_APM, ///< The APM service implementation- Service_SM, ///< The SRV (Service Directory) implementation- Service_FS, ///< The FS (Filesystem) service implementation- Service_GSP, ///< The GSP (GPU control) service- Service_CFG, ///< The CFG (Configuration) service- Service_DSP, ///< The DSP (DSP control) service+ Service_ACC, ///< The ACC (Accounts) service+ Service_AM, ///< The AM (Applet manager) service+ Service_APM, ///< The APM (Performance) service+ Service_Audio, ///< The Audio (Audio control) service+ Service_FS, ///< The FS (Filesystem) serviceService_HID, ///< The HID (Human interface device) service- Service_LM, ///< The LM (Logger) service implementation+ Service_LM, ///< The LM (Logger) serviceService_NIFM, ///< The NIFM (Network interface) serviceService_NVDRV, ///< The NVDRV (Nvidia driver) serviceService_PCTL, ///< The PCTL (Parental control) service- Service_Audio, ///< The Audio (Audio control) service+ Service_SET, ///< The SET (Settings) service+ Service_SM, ///< The SM (Service manager) serviceService_VI, ///< The VI (Video interface) serviceHW, ///< Low-level hardware emulationHW_Memory, ///< Memory-map and address translationdiff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cppindex e0e157fe1f..d139304bba 100644--- a/src/core/hle/service/set/set.cpp+++ b/src/core/hle/service/set/set.cpp@@ -24,7 +24,7 @@ void SET::GetAvailableLanguageCodes(Kernel::HLERequestContext& ctx) {rb.Push(RESULT_SUCCESS);rb.Push(static_cast<u64>(lang_codes.size()));- LOG_WARNING(Service, "(STUBBED) called");+ LOG_WARNING(Service_SET, "(STUBBED) called");}SET::SET(const char* name) : ServiceFramework(name) {