mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-11-15 05:47:56 -07:00
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
This commit is contained in:
parent
7eed236df9
commit
903346e06f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user