From 9543e1a1bf15d91a1b9003761394d6eff590d9d8 Mon Sep 17 00:00:00 2001 From: Subv Date: Tue, 28 Nov 2017 09:01:15 -0500 Subject: [PATCH] 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. --- src/core/hle/kernel/hle_ipc.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cpp index f906ccad0..0653dd690 100644 --- a/src/core/hle/kernel/hle_ipc.cpp +++ b/src/core/hle/kernel/hle_ipc.cpp @@ -51,7 +51,6 @@ const std::vector& HLERequestContext::GetStaticBuffer(u8 buffer_id) const { } void HLERequestContext::AddStaticBuffer(u8 buffer_id, std::vector data) { - ASSERT(static_buffers[buffer_id].empty() && !data.empty()); static_buffers[buffer_id] = std::move(data); }