Просмотр исходного кода

Merge pull request #2542 from jfmherokiller/httpsvclog

added http service enum to the log.h file
Yuri Kunde Schlesner 9 лет назад
Родитель
Сommit
a0dfe090b9

+ 1 - 0
src/common/logging/backend.cpp

@@ -55,6 +55,7 @@ namespace Log {
     SUB(Service, DSP)                                                                              \
     SUB(Service, DLP)                                                                              \
     SUB(Service, HID)                                                                              \
+    SUB(Service, HTTP)                                                                             \
     SUB(Service, SOC)                                                                              \
     SUB(Service, IR)                                                                               \
     SUB(Service, Y2R)                                                                              \

+ 1 - 0
src/common/logging/log.h

@@ -72,6 +72,7 @@ enum class Class : ClassType {
     Service_DSP,       ///< The DSP (DSP control) service
     Service_DLP,       ///< The DLP (Download Play) service
     Service_HID,       ///< The HID (Human interface device) service
+    Service_HTTP,      ///< The HTTP service
     Service_SOC,       ///< The SOC (Socket) service
     Service_IR,        ///< The IR service
     Service_Y2R,       ///< The Y2R (YUV to RGB conversion) service

+ 1 - 1
src/core/hle/service/ir/ir_u.cpp

@@ -27,7 +27,7 @@ const Interface::FunctionInfo FunctionTable[] = {
     {0x00100000, nullptr, "GetErrorStatus"},
     {0x00110040, nullptr, "SetSleepModeActive"},
     {0x00120040, nullptr, "SetSleepModeState"},
-    // clang-format off
+    // clang-format on
 };
 
 IR_U_Interface::IR_U_Interface() {

+ 1 - 1
src/core/hle/service/nim/nim.cpp

@@ -19,7 +19,7 @@ void CheckSysUpdateAvailable(Service::Interface* self) {
     cmd_buff[1] = RESULT_SUCCESS.raw;
     cmd_buff[2] = 0; // No update available
 
-    LOG_WARNING(Service_NWM, "(STUBBED) called");
+    LOG_WARNING(Service_NIM, "(STUBBED) called");
 }
 
 void Init() {