mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-08-23 15:06:32 +00:00
Update miniz to 2.10 with ZIP64 support
This commit is contained in:
@@ -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