mirror of
https://github.com/hedge-dev/XenosRecomp.git
synced 2025-10-30 07:12:17 +00:00
Compare commits
2 commits
472c258acc
...
ad36f68eb3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad36f68eb3 | ||
|
|
db0aefa529 |
1 changed files with 1 additions and 1 deletions
|
|
@ -205,7 +205,7 @@ int main(int argc, char** argv)
|
||||||
fmt::println("Compressing AIR cache...");
|
fmt::println("Compressing AIR cache...");
|
||||||
|
|
||||||
std::vector<uint8_t> airCompressed(ZSTD_compressBound(air.size()));
|
std::vector<uint8_t> airCompressed(ZSTD_compressBound(air.size()));
|
||||||
airCompressed.reserve(ZSTD_compress(airCompressed.data(), airCompressed.size(), air.data(), air.size(), level));
|
airCompressed.resize(ZSTD_compress(airCompressed.data(), airCompressed.size(), air.data(), air.size(), level));
|
||||||
|
|
||||||
f.print("const uint8_t g_compressedAirCache[] = {{");
|
f.print("const uint8_t g_compressedAirCache[] = {{");
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue