DiscScrubber: Replace unused blocks with 0x00 instead of 0xFF

This commit is contained in:
JosJuice 2016-07-07 11:51:58 +02:00
parent 3f03e2d5fe
commit 31226b8503
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ size_t GetNextBlock(File::IOFile& in, u8* buffer)
if (m_isScrubbing && m_FreeTable[i]) if (m_isScrubbing && m_FreeTable[i])
{ {
DEBUG_LOG(DISCIO, "Freeing 0x%016" PRIx64, CurrentOffset); DEBUG_LOG(DISCIO, "Freeing 0x%016" PRIx64, CurrentOffset);
std::fill(buffer, buffer + m_BlockSize, 0xFF); std::fill(buffer, buffer + m_BlockSize, 0x00);
in.Seek(m_BlockSize, SEEK_CUR); in.Seek(m_BlockSize, SEEK_CUR);
ReadBytes = m_BlockSize; ReadBytes = m_BlockSize;
} }