summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/logging/backend.cpp2
-rw-r--r--src/common/logging/log.h4
-rw-r--r--src/common/math_util.h10
3 files changed, 10 insertions, 6 deletions
diff --git a/src/common/logging/backend.cpp b/src/common/logging/backend.cpp
index d6714587c..c6a21d993 100644
--- a/src/common/logging/backend.cpp
+++ b/src/common/logging/backend.cpp
@@ -180,6 +180,7 @@ void FileBackend::Write(const Entry& entry) {
180 SUB(Service, LBL) \ 180 SUB(Service, LBL) \
181 SUB(Service, LDN) \ 181 SUB(Service, LDN) \
182 SUB(Service, LM) \ 182 SUB(Service, LM) \
183 SUB(Service, Migration) \
183 SUB(Service, Mii) \ 184 SUB(Service, Mii) \
184 SUB(Service, MM) \ 185 SUB(Service, MM) \
185 SUB(Service, NCM) \ 186 SUB(Service, NCM) \
@@ -192,6 +193,7 @@ void FileBackend::Write(const Entry& entry) {
192 SUB(Service, PCTL) \ 193 SUB(Service, PCTL) \
193 SUB(Service, PCV) \ 194 SUB(Service, PCV) \
194 SUB(Service, PREPO) \ 195 SUB(Service, PREPO) \
196 SUB(Service, PSC) \
195 SUB(Service, SET) \ 197 SUB(Service, SET) \
196 SUB(Service, SM) \ 198 SUB(Service, SM) \
197 SUB(Service, SPL) \ 199 SUB(Service, SPL) \
diff --git a/src/common/logging/log.h b/src/common/logging/log.h
index e96d817f4..3d6a161a5 100644
--- a/src/common/logging/log.h
+++ b/src/common/logging/log.h
@@ -67,6 +67,7 @@ enum class Class : ClassType {
67 Service_LBL, ///< The LBL (LCD backlight) service 67 Service_LBL, ///< The LBL (LCD backlight) service
68 Service_LDN, ///< The LDN (Local domain network) service 68 Service_LDN, ///< The LDN (Local domain network) service
69 Service_LM, ///< The LM (Logger) service 69 Service_LM, ///< The LM (Logger) service
70 Service_Migration, ///< The migration service
70 Service_Mii, ///< The Mii service 71 Service_Mii, ///< The Mii service
71 Service_MM, ///< The MM (Multimedia) service 72 Service_MM, ///< The MM (Multimedia) service
72 Service_NCM, ///< The NCM service 73 Service_NCM, ///< The NCM service
@@ -77,8 +78,9 @@ enum class Class : ClassType {
77 Service_NVDRV, ///< The NVDRV (Nvidia driver) service 78 Service_NVDRV, ///< The NVDRV (Nvidia driver) service
78 Service_PCIE, ///< The PCIe service 79 Service_PCIE, ///< The PCIe service
79 Service_PCTL, ///< The PCTL (Parental control) service 80 Service_PCTL, ///< The PCTL (Parental control) service
80 Service_PCV, ///< The PCV (Parental control) service 81 Service_PCV, ///< The PCV service
81 Service_PREPO, ///< The PREPO (Play report) service 82 Service_PREPO, ///< The PREPO (Play report) service
83 Service_PSC, ///< The PSC service
82 Service_SET, ///< The SET (Settings) service 84 Service_SET, ///< The SET (Settings) service
83 Service_SM, ///< The SM (Service manager) service 85 Service_SM, ///< The SM (Service manager) service
84 Service_SPL, ///< The SPL service 86 Service_SPL, ///< The SPL service
diff --git a/src/common/math_util.h b/src/common/math_util.h
index c6a83c953..343cdd902 100644
--- a/src/common/math_util.h
+++ b/src/common/math_util.h
@@ -19,12 +19,12 @@ inline bool IntervalsIntersect(unsigned start0, unsigned length0, unsigned start
19 19
20template <class T> 20template <class T>
21struct Rectangle { 21struct Rectangle {
22 T left; 22 T left{};
23 T top; 23 T top{};
24 T right; 24 T right{};
25 T bottom; 25 T bottom{};
26 26
27 Rectangle() {} 27 Rectangle() = default;
28 28
29 Rectangle(T left, T top, T right, T bottom) 29 Rectangle(T left, T top, T right, T bottom)
30 : left(left), top(top), right(right), bottom(bottom) {} 30 : left(left), top(top), right(right), bottom(bottom) {}