diff options
| author | Léo Lam <leolino.lam@gmail.com> | 2018-03-16 18:13:32 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-16 18:13:32 +0100 |
| commit | 76eee7095ed5de07f2c9cf1394075c7480d0ce40 (patch) | |
| tree | 840fcdbc69b82dd947b7f4549c01be5146e19c26 /Source/Core/DiscIO/DirectoryBlob.cpp | |
| parent | 328585ef17386f3a27cae86c2863ede5a28971ef (diff) | |
| parent | 75f5fcdfee4cd643aa347ea69db05c595ed39caf (diff) | |
Merge pull request #6446 from lioncash/assert-param
Assert: Remove unused parameter from DEBUG_ASSERT
Diffstat (limited to 'Source/Core/DiscIO/DirectoryBlob.cpp')
| -rw-r--r-- | Source/Core/DiscIO/DirectoryBlob.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/DirectoryBlob.cpp b/Source/Core/DiscIO/DirectoryBlob.cpp index 5cbdc08210..d8912ec54d 100644 --- a/Source/Core/DiscIO/DirectoryBlob.cpp +++ b/Source/Core/DiscIO/DirectoryBlob.cpp @@ -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 |
