mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 12:19:12 +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
|
@ -772,7 +772,7 @@ void ShaderCache::LoadPipelineUIDCache()
|
|||
|
||||
// We open the file for reading and writing, so we must seek to the end before writing.
|
||||
if (uid_file_valid)
|
||||
uid_file_valid = m_gx_pipeline_uid_cache_file.Seek(expected_size, SEEK_SET);
|
||||
uid_file_valid = m_gx_pipeline_uid_cache_file.Seek(expected_size, File::SeekOrigin::Begin);
|
||||
}
|
||||
|
||||
// If the file is invalid, close it. We re-open and truncate it below.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue