From 80d35c619455c651a38beec3e680bcc8c5e68b71 Mon Sep 17 00:00:00 2001 From: Kamay Xutax Date: Tue, 23 Jul 2024 16:31:29 +0200 Subject: [PATCH] Update compress level to ZSTD_btultra2 --- engine/common.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/common.cpp b/engine/common.cpp index 49548adf5f..f9475658be 100644 --- a/engine/common.cpp +++ b/engine/common.cpp @@ -1304,7 +1304,7 @@ unsigned int COM_GetIdealDestinationCompressionBufferSize_ZSTD( return 4 + ZSTD_compressBound(uncompressedSize); } -static constexpr int ZSTD_COMPRESSION_LEVEL = 999; +static constexpr int ZSTD_COMPRESSION_LEVEL = 22; static auto g_pZSTDCCtx = ZSTD_createCCtx(); template