diff options
| author | 2019-02-10 10:28:04 +0100 | |
|---|---|---|
| committer | 2019-03-29 18:22:08 +0100 | |
| commit | b4857e326fdf4c980c88ca399e7d12f99253777e (patch) | |
| tree | 5e90dbe3f86317723ee15306cdf1de38d6405790 /src/common/zstd_compression.h | |
| parent | gl_shader_disk_cache: Fixup clang format (diff) | |
| download | yuzu-b4857e326fdf4c980c88ca399e7d12f99253777e.tar.gz yuzu-b4857e326fdf4c980c88ca399e7d12f99253777e.tar.xz yuzu-b4857e326fdf4c980c88ca399e7d12f99253777e.zip | |
common/zstd_compression: simplify decompression interface
Diffstat (limited to 'src/common/zstd_compression.h')
| -rw-r--r-- | src/common/zstd_compression.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/zstd_compression.h b/src/common/zstd_compression.h index c011ac34b..e0a64b035 100644 --- a/src/common/zstd_compression.h +++ b/src/common/zstd_compression.h | |||
| @@ -34,11 +34,9 @@ std::vector<u8> CompressDataZSTDDefault(const u8* source, std::size_t source_siz | |||
| 34 | * Decompresses a source memory region with Zstandard and returns the uncompressed data in a vector. | 34 | * Decompresses a source memory region with Zstandard and returns the uncompressed data in a vector. |
| 35 | * | 35 | * |
| 36 | * @param compressed the compressed source memory region. | 36 | * @param compressed the compressed source memory region. |
| 37 | * @param uncompressed_size the size in bytes of the uncompressed data. | ||
| 38 | * | 37 | * |
| 39 | * @return the decompressed data. | 38 | * @return the decompressed data. |
| 40 | */ | 39 | */ |
| 41 | std::vector<u8> DecompressDataZSTD(const std::vector<u8>& compressed, | 40 | std::vector<u8> DecompressDataZSTD(const std::vector<u8>& compressed); |
| 42 | std::size_t uncompressed_size); | ||
| 43 | 41 | ||
| 44 | } // namespace Common::Compression \ No newline at end of file | 42 | } // namespace Common::Compression \ No newline at end of file |