diff options
| author | 2018-02-04 22:55:45 -0500 | |
|---|---|---|
| committer | 2018-02-04 22:55:45 -0500 | |
| commit | c689fe84244868542bf557b2ca3fe1da63f2a6da (patch) | |
| tree | 1a1ed34a12298fa994e2fca772aa4003b35ef223 /src | |
| parent | logger: Add PCTL service logging category. (diff) | |
| download | yuzu-c689fe84244868542bf557b2ca3fe1da63f2a6da.tar.gz yuzu-c689fe84244868542bf557b2ca3fe1da63f2a6da.tar.xz yuzu-c689fe84244868542bf557b2ca3fe1da63f2a6da.zip | |
logger: Add SET service logging category.
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/logging/backend.cpp | 8 | ||||
| -rw-r--r-- | src/common/logging/log.h | 18 | ||||
| -rw-r--r-- | src/core/hle/service/set/set.cpp | 2 |
3 files changed, 12 insertions, 16 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp index 6dcfaed69..2848fe116 100644 --- a/src/common/logging/backend.cpp +++ b/src/common/logging/backend.cpp | |||
| @@ -33,19 +33,17 @@ namespace Log { | |||
| 33 | SUB(Kernel, SVC) \ | 33 | SUB(Kernel, SVC) \ |
| 34 | CLS(Service) \ | 34 | CLS(Service) \ |
| 35 | SUB(Service, ACC) \ | 35 | SUB(Service, ACC) \ |
| 36 | SUB(Service, Audio) \ | ||
| 36 | SUB(Service, AM) \ | 37 | SUB(Service, AM) \ |
| 37 | SUB(Service, APM) \ | 38 | SUB(Service, APM) \ |
| 38 | SUB(Service, SM) \ | ||
| 39 | SUB(Service, FS) \ | 39 | SUB(Service, FS) \ |
| 40 | SUB(Service, GSP) \ | ||
| 41 | SUB(Service, CFG) \ | ||
| 42 | SUB(Service, DSP) \ | ||
| 43 | SUB(Service, HID) \ | 40 | SUB(Service, HID) \ |
| 44 | SUB(Service, LM) \ | 41 | SUB(Service, LM) \ |
| 45 | SUB(Service, NIFM) \ | 42 | SUB(Service, NIFM) \ |
| 46 | SUB(Service, NVDRV) \ | 43 | SUB(Service, NVDRV) \ |
| 47 | SUB(Service, PCTL) \ | 44 | SUB(Service, PCTL) \ |
| 48 | SUB(Service, Audio) \ | 45 | SUB(Service, SET) \ |
| 46 | SUB(Service, SM) \ | ||
| 49 | SUB(Service, VI) \ | 47 | SUB(Service, VI) \ |
| 50 | CLS(HW) \ | 48 | CLS(HW) \ |
| 51 | SUB(HW, Memory) \ | 49 | SUB(HW, Memory) \ |
diff --git a/src/common/logging/log.h b/src/common/logging/log.h index b7d3e1c4f..f7336cea8 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h | |||
| @@ -49,20 +49,18 @@ enum class Class : ClassType { | |||
| 49 | Kernel_SVC, ///< Kernel system calls | 49 | Kernel_SVC, ///< Kernel system calls |
| 50 | Service, ///< HLE implementation of system services. Each major service | 50 | Service, ///< HLE implementation of system services. Each major service |
| 51 | /// should have its own subclass. | 51 | /// should have its own subclass. |
| 52 | Service_ACC, ///< The ACC (Account service) implementation | 52 | Service_ACC, ///< The ACC (Accounts) service |
| 53 | Service_AM, ///< The AM (Applet manager service) implementation | 53 | Service_AM, ///< The AM (Applet manager) service |
| 54 | Service_APM, ///< The APM service implementation | 54 | Service_APM, ///< The APM (Performance) service |
| 55 | Service_SM, ///< The SRV (Service Directory) implementation | 55 | Service_Audio, ///< The Audio (Audio control) service |
| 56 | Service_FS, ///< The FS (Filesystem) service implementation | 56 | Service_FS, ///< The FS (Filesystem) service |
| 57 | Service_GSP, ///< The GSP (GPU control) service | ||
| 58 | Service_CFG, ///< The CFG (Configuration) service | ||
| 59 | Service_DSP, ///< The DSP (DSP control) service | ||
| 60 | Service_HID, ///< The HID (Human interface device) service | 57 | Service_HID, ///< The HID (Human interface device) service |
| 61 | Service_LM, ///< The LM (Logger) service implementation | 58 | Service_LM, ///< The LM (Logger) service |
| 62 | Service_NIFM, ///< The NIFM (Network interface) service | 59 | Service_NIFM, ///< The NIFM (Network interface) service |
| 63 | Service_NVDRV, ///< The NVDRV (Nvidia driver) service | 60 | Service_NVDRV, ///< The NVDRV (Nvidia driver) service |
| 64 | Service_PCTL, ///< The PCTL (Parental control) service | 61 | Service_PCTL, ///< The PCTL (Parental control) service |
| 65 | Service_Audio, ///< The Audio (Audio control) service | 62 | Service_SET, ///< The SET (Settings) service |
| 63 | Service_SM, ///< The SM (Service manager) service | ||
| 66 | Service_VI, ///< The VI (Video interface) service | 64 | Service_VI, ///< The VI (Video interface) service |
| 67 | HW, ///< Low-level hardware emulation | 65 | HW, ///< Low-level hardware emulation |
| 68 | HW_Memory, ///< Memory-map and address translation | 66 | HW_Memory, ///< Memory-map and address translation |
diff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cpp index e0e157fe1..d139304bb 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) { | |||
| 24 | rb.Push(RESULT_SUCCESS); | 24 | rb.Push(RESULT_SUCCESS); |
| 25 | rb.Push(static_cast<u64>(lang_codes.size())); | 25 | rb.Push(static_cast<u64>(lang_codes.size())); |
| 26 | 26 | ||
| 27 | LOG_WARNING(Service, "(STUBBED) called"); | 27 | LOG_WARNING(Service_SET, "(STUBBED) called"); |
| 28 | } | 28 | } |
| 29 | 29 | ||
| 30 | SET::SET(const char* name) : ServiceFramework(name) { | 30 | SET::SET(const char* name) : ServiceFramework(name) { |