mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-20 22:05:12 +00:00
CppCheck: About assert side-effect and remove_if that i don't know enough..
This commit is contained in:
parent
d072eba687
commit
cd23a2ecaf
3 changed files with 5 additions and 2 deletions
|
|
@ -148,7 +148,7 @@ void ElementaryStream::push_au(u32 size, u64 dts, u64 pts, u64 userdata, bool ra
|
|||
u32 addr;
|
||||
{
|
||||
std::lock_guard<std::mutex> lock(m_mutex);
|
||||
|
||||
// TODO:: Syphurith: Should us convert this to a if statement? Since Asserts aren't included in Release builds.
|
||||
assert(!is_full(size));
|
||||
|
||||
if (put + size + 128 > memAddr + memSize)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue