mirror of
https://github.com/PabloMK7/citra
synced 2024-11-15 13:18:24 +00:00
Fixed include in http_c,h; added ERROR_CONTEXT_ERROR to CreateContext
This commit is contained in:
parent
daac1349db
commit
050d116cb6
2 changed files with 2 additions and 2 deletions
|
@ -54,8 +54,7 @@ void HTTP_C::CreateContext(Kernel::HLERequestContext& ctx) {
|
|||
LOG_ERROR(Service_HTTP, "invalid request method={}", static_cast<u32>(method));
|
||||
|
||||
IPC::RequestBuilder rb = rp.MakeBuilder(1, 2);
|
||||
rb.Push(ResultCode(ErrCodes::InvalidContext, ErrorModule::HTTP, ErrorSummary::InvalidState,
|
||||
ErrorLevel::Permanent));
|
||||
rb.Push(ERROR_CONTEXT_ERROR);
|
||||
rb.PushMappedBuffer(buffer);
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -4,6 +4,7 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
|
Loading…
Reference in a new issue