mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 17:18:53 +00:00
IOFile: Make origin parameter to Seek() an enum class.
This commit is contained in:
parent
c2d8191fbb
commit
36cfcb530f
26 changed files with 116 additions and 78 deletions
|
@ -447,7 +447,7 @@ bool HiresTexture::LoadDDSTexture(HiresTexture* tex, const std::string& filename
|
|||
|
||||
// Read first mip level, as it may have a custom pitch.
|
||||
Level first_level;
|
||||
if (!file.Seek(info.first_mip_offset, SEEK_SET) ||
|
||||
if (!file.Seek(info.first_mip_offset, File::SeekOrigin::Begin) ||
|
||||
!ReadMipLevel(&first_level, file, filename, 0, info, info.width, info.height,
|
||||
info.first_mip_row_length, info.first_mip_size))
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue