mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 08:50:06 +00:00
cleardnscache function stubbed
I stubbed the cleardnscache function in HTTP:C
This commit is contained in:
parent
05a6f243f8
commit
b17c40d692
@ -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
|
||||
|
@ -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"},
|
||||
|
Loading…
Reference in New Issue
Block a user