HLE/IPC: Don't assert in HLERequestContext::AddStaticBuffer when there's already a static buffer with the desired id.
This could happen if the guest application performs a request with static buffer id X, and the service module responds with another static buffer with the same id X.
This commit is contained in:
parent
e9a95b2e7d
commit
9543e1a1bf
@ -51,7 +51,6 @@ const std::vector<u8>& HLERequestContext::GetStaticBuffer(u8 buffer_id) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void HLERequestContext::AddStaticBuffer(u8 buffer_id, std::vector<u8> data) {
|
void HLERequestContext::AddStaticBuffer(u8 buffer_id, std::vector<u8> data) {
|
||||||
ASSERT(static_buffers[buffer_id].empty() && !data.empty());
|
|
||||||
static_buffers[buffer_id] = std::move(data);
|
static_buffers[buffer_id] = std::move(data);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user