diff options
| author | Shawn Hoffman <godisgovernment@gmail.com> | 2009-07-31 03:11:46 +0000 |
|---|---|---|
| committer | Shawn Hoffman <godisgovernment@gmail.com> | 2009-07-31 03:11:46 +0000 |
| commit | 903346e06f58aa231f0a51808deea010b7891e6d (patch) | |
| tree | 13b97a1a770ba236e00abf935b3dc6c5cee28ecf /Source/Core/DiscIO/Src/CompressedBlob.cpp | |
| parent | 7eed236df960e393348f5223abdc4ef5516c53de (diff) | |
fix decompressing of wii discs (who wrote this? XD )
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3914 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/CompressedBlob.cpp')
| -rw-r--r-- | Source/Core/DiscIO/Src/CompressedBlob.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/DiscIO/Src/CompressedBlob.cpp b/Source/Core/DiscIO/Src/CompressedBlob.cpp index ec6b2c12a0..14b686fd46 100644 --- a/Source/Core/DiscIO/Src/CompressedBlob.cpp +++ b/Source/Core/DiscIO/Src/CompressedBlob.cpp @@ -320,7 +320,7 @@ bool DecompressBlobToFile(const char* infile, const char* outfile, CompressCB ca #ifdef _WIN32 // ector: _chsize sucks, not 64-bit safe // F|RES: changed to _chsize_s. i think it is 64-bit safe - _chsize_s(_fileno(f), (long)header.data_size); + _chsize_s(_fileno(f), header.data_size); #else ftruncate(fileno(f), header.data_size); #endif |
