mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 07:09:03 +00:00
Assert: Remove unused parameter from DEBUG_ASSERT
This brings the macro in line with the regular ASSERT macro, which only has one macro parameter.
This commit is contained in:
parent
328585ef17
commit
75f5fcdfee
28 changed files with 86 additions and 91 deletions
|
@ -92,7 +92,7 @@ bool DiscContent::Read(u64* offset, u64* length, u8** buffer) const
|
|||
if (m_size == 0)
|
||||
return true;
|
||||
|
||||
DEBUG_ASSERT(DISCIO, *offset >= m_offset);
|
||||
DEBUG_ASSERT(*offset >= m_offset);
|
||||
const u64 offset_in_content = *offset - m_offset;
|
||||
|
||||
if (offset_in_content < m_size)
|
||||
|
@ -160,7 +160,7 @@ bool DiscContentContainer::Read(u64 offset, u64 length, u8* buffer) const
|
|||
return false;
|
||||
|
||||
++it;
|
||||
DEBUG_ASSERT(DISCIO, it == m_contents.end() || it->GetOffset() >= offset);
|
||||
DEBUG_ASSERT(it == m_contents.end() || it->GetOffset() >= offset);
|
||||
}
|
||||
|
||||
// Zero fill if we went beyond the last DiscContent
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue