citra-emu
/
citra-canary
Archived
1
0
Fork 0

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:
Sebastian Valle 2017-11-28 10:19:29 -05:00 committed by GitHub
commit 283ab8e693
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -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);
} }