mirror of https://github.com/axmolengine/axmol.git
Merge pull request #1566 from mingulov/unzip_crc
Zip support: broken CRC check / unzCloseCurrentFile
This commit is contained in:
commit
605771697a
|
@ -1568,7 +1568,7 @@ int ZEXPORT unzOpenCurrentFile3 (unzFile file, int* method,
|
|||
/* #endif */
|
||||
(s->cur_file_info.compression_method!=Z_DEFLATED))
|
||||
|
||||
//err=UNZ_BADZIPFILE;
|
||||
;//err=UNZ_BADZIPFILE;
|
||||
|
||||
pfile_in_zip_read_info->crc32_wait=s->cur_file_info.crc;
|
||||
pfile_in_zip_read_info->crc32=0;
|
||||
|
|
Loading…
Reference in New Issue