diff --git a/src/common/logging/log.h b/src/common/logging/log.h index 4330ef879..0d5254d39 100644 --- a/src/common/logging/log.h +++ b/src/common/logging/log.h @@ -74,6 +74,7 @@ enum class Class : ClassType { Service_HID, ///< The HID (Human interface device) service Service_SOC, ///< The SOC (Socket) service Service_IR, ///< The IR service + Service_HTTP, ///< The HTTP service Service_Y2R, ///< The Y2R (YUV to RGB conversion) service HW, ///< Low-level hardware emulation HW_Memory, ///< Memory-map and address translation diff --git a/src/core/hle/service/http_c.cpp b/src/core/hle/service/http_c.cpp index b01d6e031..84a68c2cf 100644 --- a/src/core/hle/service/http_c.cpp +++ b/src/core/hle/service/http_c.cpp @@ -6,7 +6,11 @@ namespace Service { namespace HTTP { - +void ClearDNSCache(Interface* self) { + u32* cmd_buff = Kernel::GetCommandBuffer(); + cmd_buff[1] = RESULT_SUCCESS.raw; // No error + LOG_DEBUG(Service_HTTP, "(STUBBED) called"); +} const Interface::FunctionInfo FunctionTable[] = { {0x00010044, nullptr, "Initialize"}, {0x00020082, nullptr, "CreateContext"}, @@ -58,7 +62,7 @@ const Interface::FunctionInfo FunctionTable[] = { {0x00330040, nullptr, "OpenDefaultClientCertContext"}, {0x00340040, nullptr, "CloseClientCertContext"}, {0x00350186, nullptr, "SetDefaultProxy"}, - {0x00360000, nullptr, "ClearDNSCache"}, + {0x00360000, ClearDNSCache, "ClearDNSCache"}, {0x00370080, nullptr, "SetKeepAlive"}, {0x003800C0, nullptr, "SetPostDataTypeSize"}, {0x00390000, nullptr, "Finalize"},