summaryrefslogtreecommitdiff
path: root/Source/Core/Common/Src/SysConf.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/Common/Src/SysConf.cpp')
-rw-r--r--Source/Core/Common/Src/SysConf.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Common/Src/SysConf.cpp b/Source/Core/Common/Src/SysConf.cpp
index dbac407dc7..8f3de9cd51 100644
--- a/Source/Core/Common/Src/SysConf.cpp
+++ b/Source/Core/Common/Src/SysConf.cpp
@@ -84,7 +84,7 @@ bool SysConf::LoadFromFileInternal(FILE *f)
for (size_t i = 0; i < m_Entries.size() - 1; i++)
{
SSysConfEntry& curEntry = m_Entries.at(i);
- if (fseek(f, curEntry.offset, SEEK_SET) != 0) return false;
+ if (fseeko(f, curEntry.offset, SEEK_SET) != 0) return false;
u8 description = 0;
if (fread(&description, sizeof(description), 1, f) != 1) return false;
@@ -142,7 +142,7 @@ bool SysConf::SaveToFile(const char *filename)
for (size_t i = 0; i < m_Entries.size() - 1; i++)
{
// Seek to after the name of this entry
- if (fseek(f, m_Entries.at(i).offset + m_Entries.at(i).nameLength + 1, SEEK_SET) != 0) return false;
+ if (fseeko(f, m_Entries.at(i).offset + m_Entries.at(i).nameLength + 1, SEEK_SET) != 0) return false;
// We may have to write array length value...
if (m_Entries.at(i).type == Type_BigArray)
{