mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
IOFile: Make origin parameter to Seek() an enum class.
This commit is contained in:
@@ -150,7 +150,7 @@ bool DriveReader::ReadMultipleAlignedBlocks(u64 block_num, u64 num_blocks, u8* o
|
||||
}
|
||||
return bytes_read == GetSectorSize() * num_blocks;
|
||||
#else
|
||||
m_file.Seek(GetSectorSize() * block_num, SEEK_SET);
|
||||
m_file.Seek(GetSectorSize() * block_num, File::SeekOrigin::Begin);
|
||||
if (m_file.ReadBytes(out_ptr, num_blocks * GetSectorSize()))
|
||||
return true;
|
||||
m_file.Clear();
|
||||
|
||||
Reference in New Issue
Block a user