IOFile: Rename Clear() to ClearError() for clarity.

This commit is contained in:
Admiral H. Curtiss 2022-01-29 06:01:03 +01:00
commit a336c4386c
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
9 changed files with 9 additions and 9 deletions

View file

@ -153,7 +153,7 @@ bool DriveReader::ReadMultipleAlignedBlocks(u64 block_num, u64 num_blocks, u8* o
m_file.Seek(GetSectorSize() * block_num, File::SeekOrigin::Begin);
if (m_file.ReadBytes(out_ptr, num_blocks * GetSectorSize()))
return true;
m_file.Clear();
m_file.ClearError();
return false;
#endif
}