mirror of
https://github.com/stenzek/duckstation.git
synced 2026-02-04 05:04:33 +00:00
CompressHelpers: Fix incorrect function call
This commit is contained in:
@@ -522,7 +522,7 @@ bool CompressHelpers::DecompressHelper(ByteBuffer& ret, CompressType type, T dat
|
||||
|
||||
case CompressType::Deflate:
|
||||
{
|
||||
if (!decompressed_size.has_value() && !(decompressed_size = GetZstdDecompressedSize(data, error)).has_value())
|
||||
if (!decompressed_size.has_value() && !(decompressed_size = GetDeflateDecompressedSize(data, error)).has_value())
|
||||
return false;
|
||||
|
||||
ret.resize(decompressed_size.value());
|
||||
|
||||
Reference in New Issue
Block a user