From 30e0f3d9ca230b788efee736f6cb94d46fb8b925 Mon Sep 17 00:00:00 2001 From: BhaaL Date: Sat, 21 Jan 2017 21:27:25 +0100 Subject: [PATCH] DecompressFileToBlob: don't assume success if decompression failed --- Source/Core/DiscIO/CompressedBlob.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DiscIO/CompressedBlob.cpp b/Source/Core/DiscIO/CompressedBlob.cpp index 447088de61..660bad7224 100644 --- a/Source/Core/DiscIO/CompressedBlob.cpp +++ b/Source/Core/DiscIO/CompressedBlob.cpp @@ -405,7 +405,7 @@ bool DecompressBlobToFile(const std::string& infile_path, const std::string& out outfile.Resize(header.data_size); } - return true; + return success; } bool IsGCZBlob(File::IOFile& file)