summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2023-03-24 03:16:05 +0100
committerMorph <39850852+Morph1984@users.noreply.github.com>2023-03-24 03:16:20 +0100
commitabe2ad7aacd50b82dfdd1c1fdbe8258e1872d1aa (patch)
tree1fcb30f9e0c65cf3ef84778bd10c022b531a8748 /src/common
parentCMakeLists: Update boost to 1.81.0 (diff)
downloadyuzu-abe2ad7aacd50b82dfdd1c1fdbe8258e1872d1aa.tar
yuzu-abe2ad7aacd50b82dfdd1c1fdbe8258e1872d1aa.tar.gz
yuzu-abe2ad7aacd50b82dfdd1c1fdbe8258e1872d1aa.tar.bz2
yuzu-abe2ad7aacd50b82dfdd1c1fdbe8258e1872d1aa.tar.lz
yuzu-abe2ad7aacd50b82dfdd1c1fdbe8258e1872d1aa.tar.xz
yuzu-abe2ad7aacd50b82dfdd1c1fdbe8258e1872d1aa.tar.zst
yuzu-abe2ad7aacd50b82dfdd1c1fdbe8258e1872d1aa.zip
Diffstat (limited to 'src/common')
-rw-r--r--src/common/zstd_compression.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/zstd_compression.cpp b/src/common/zstd_compression.cpp
index b71a41b78..cb6ec171b 100644
--- a/src/common/zstd_compression.cpp
+++ b/src/common/zstd_compression.cpp
@@ -33,7 +33,7 @@ std::vector<u8> CompressDataZSTDDefault(const u8* source, std::size_t source_siz
std::vector<u8> DecompressDataZSTD(std::span<const u8> compressed) {
const std::size_t decompressed_size =
- ZSTD_getDecompressedSize(compressed.data(), compressed.size());
+ ZSTD_getFrameContentSize(compressed.data(), compressed.size());
std::vector<u8> decompressed(decompressed_size);
const std::size_t uncompressed_result_size = ZSTD_decompress(