mirror of
https://github.com/Lime3DS/Lime3DS
synced 2024-12-25 16:42:39 -06:00
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
1 changed files with 0 additions and 1 deletions
|
@ -51,7 +51,6 @@ const std::vector<u8>& HLERequestContext::GetStaticBuffer(u8 buffer_id) const {
|
|||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue