mirror of
https://github.com/citra-emu/citra.git
synced 2024-12-23 20:50:05 +00:00
Merge pull request #3160 from Subv/hle_ipc_assert
HLE/IPC: Don't assert in HLERequestContext::AddStaticBuffer when there's already a static buffer with the desired id
This commit is contained in:
commit
283ab8e693
@ -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