summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/ShaderCache.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2022-01-29 05:58:31 +0100
committerAdmiral H. Curtiss <pikachu025@gmail.com>2022-01-29 06:49:21 +0100
commit36cfcb530f6810afca93e75c47f767a453a99361 (patch)
tree10070f47738c1662a74dd101993dc76d7fbfbca0 /Source/Core/VideoCommon/ShaderCache.cpp
parentc2d8191fbb2115ddbf09bb026dd68b81d5624394 (diff)
IOFile: Make origin parameter to Seek() an enum class.
Diffstat (limited to 'Source/Core/VideoCommon/ShaderCache.cpp')
-rw-r--r--Source/Core/VideoCommon/ShaderCache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/ShaderCache.cpp b/Source/Core/VideoCommon/ShaderCache.cpp
index eada4c970b..984793d9d8 100644
--- a/Source/Core/VideoCommon/ShaderCache.cpp
+++ b/Source/Core/VideoCommon/ShaderCache.cpp
@@ -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.