diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2010-12-04 03:50:55 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2010-12-04 03:50:55 +0000 |
| commit | e70e6236248aebe8740a3369e613d07f351c9546 (patch) | |
| tree | fcbfedcf5f06064ab1fdc721f89ad5552924feb1 /Source/Core/DiscIO/Src/DiscScrubber.cpp | |
| parent | 97e3a3ea6fda441b2b342f795aa0afd9de2d8e14 (diff) | |
Second attempt at issue 3458. Fixes issue 3458.
Replaces all occurrences of ftell and fseek with ftello and fseeko, respectively. This matters on non-win32 where only these names are altered by the _FILE_OFFSET_BITS define. Win32 still just maps the funcs to ftelli64/fseeki64.
Also add some File::GetSize I had skipped in my last commit.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6515 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/DiscScrubber.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/DiscScrubber.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/Src/DiscScrubber.cpp b/Source/Core/DiscIO/Src/DiscScrubber.cpp index 1eb5538f11..44ad6bb6b1 100644 --- a/Source/Core/DiscIO/Src/DiscScrubber.cpp +++ b/Source/Core/DiscIO/Src/DiscScrubber.cpp @@ -138,7 +138,7 @@ void GetNextBlock(FILE* in, u8* buffer) { DEBUG_LOG(DISCIO, "Freeing 0x%016llx", CurrentOffset); std::fill(buffer, buffer + m_BlockSize, 0xFF); - fseek(in, m_BlockSize, SEEK_CUR); + fseeko(in, m_BlockSize, SEEK_CUR); } else { |
