From 26d26653af9962f4843171becc1d2a42bd9bf5a0 Mon Sep 17 00:00:00 2001 From: PabloMK7 Date: Sat, 30 Sep 2023 12:25:44 +0200 Subject: [PATCH] Fix http:c files --- src/core/hle/service/http/http_c.cpp | 1 - src/core/hle/service/http/http_c.h | 32 ---------------------------- 2 files changed, 33 deletions(-) diff --git a/src/core/hle/service/http/http_c.cpp b/src/core/hle/service/http/http_c.cpp index c24767bcc4..c0db50f5c8 100644 --- a/src/core/hle/service/http/http_c.cpp +++ b/src/core/hle/service/http/http_c.cpp @@ -314,7 +314,6 @@ void HTTP_C::ReceiveDataImpl(Kernel::HLERequestContext& ctx, bool timeout) { } else { LOG_WARNING(Service_HTTP, "(STUBBED) called"); } - [[maybe_unused]] Kernel::MappedBuffer& buffer = rp.PopMappedBuffer(); Kernel::MappedBuffer& buffer = rp.PopMappedBuffer(); diff --git a/src/core/hle/service/http/http_c.h b/src/core/hle/service/http/http_c.h index 41fb2183fc..85b518488d 100644 --- a/src/core/hle/service/http/http_c.h +++ b/src/core/hle/service/http/http_c.h @@ -210,7 +210,6 @@ public: std::atomic total_download_size_bytes; size_t current_copied_data; bool uses_default_client_cert{}; -#ifdef ENABLE_WEB_SERVICE httplib::Response response; }; @@ -330,37 +329,6 @@ private: */ void BeginRequestAsync(Kernel::HLERequestContext& ctx); - /** - * HTTP_C::ReceiveData service function - * Inputs: - * 1 : Context handle - * 2 : Buffer size - * 3 : (OutSize<<4) | 12 - * 4 : Output data pointer - * Outputs: - * 1 : Result of function, 0 on success, otherwise error code - */ - void ReceiveData(Kernel::HLERequestContext& ctx); - - /** - * HTTP_C::ReceiveDataTimeout service function - * Inputs: - * 1 : Context handle - * 2 : Buffer size - * 3-4 : u64 nanoseconds delay - * 5 : (OutSize<<4) | 12 - * 6 : Output data pointer - * Outputs: - * 1 : Result of function, 0 on success, otherwise error code - */ - void ReceiveDataTimeout(Kernel::HLERequestContext& ctx); - - /** - * ReceiveDataImpl: - * Implements ReceiveData and ReceiveDataTimeout service functions - */ - void ReceiveDataImpl(Kernel::HLERequestContext& ctx, bool timeout); - void SetProxyDefault(Kernel::HLERequestContext& ctx); /**