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