mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-07-30 19:31:07 +00:00
Update miniz to 2.10 with ZIP64 support
This commit is contained in:
Vendored
+7507
-4712
File diff suppressed because it is too large
Load Diff
Vendored
+1304
-180
File diff suppressed because it is too large
Load Diff
@@ -275,6 +275,7 @@
|
||||
</ForcedIncludeFiles>
|
||||
</ClCompile>
|
||||
<ClCompile Include="3rdparty\miniz\miniz.c">
|
||||
<DisableSpecificWarnings>4100;4127</DisableSpecificWarnings>
|
||||
<PrecompiledHeader>NotUsing</PrecompiledHeader>
|
||||
<ForcedIncludeFiles>
|
||||
</ForcedIncludeFiles>
|
||||
|
||||
@@ -393,7 +393,13 @@ struct UpgradeCommand : public Command
|
||||
*wfn = L'\\';
|
||||
}
|
||||
|
||||
mz_zip_reader_extract_to_wfile(&zip, i, target.c_str(), 0);
|
||||
FILE *target_file = NULL;
|
||||
_wfopen_s(&target_file, target.c_str(), L"wb");
|
||||
if(target_file)
|
||||
{
|
||||
mz_zip_reader_extract_to_cfile(&zip, i, target_file, 0);
|
||||
fclose(target_file);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user