From 94ee720a0745939874ff4a663fe071c847369c67 Mon Sep 17 00:00:00 2001 From: JosJuice Date: Sat, 26 Sep 2015 14:46:53 +0200 Subject: Rename IsCompressedBlob to IsGCZBlob for clarity GCZ is just one of the several compressed formats that Dolphin supports. --- Source/Core/DiscIO/CompressedBlob.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Source/Core/DiscIO/CompressedBlob.cpp') diff --git a/Source/Core/DiscIO/CompressedBlob.cpp b/Source/Core/DiscIO/CompressedBlob.cpp index 04304b7613..5c08355175 100644 --- a/Source/Core/DiscIO/CompressedBlob.cpp +++ b/Source/Core/DiscIO/CompressedBlob.cpp @@ -55,7 +55,7 @@ CompressedBlobReader::CompressedBlobReader(const std::string& filename) : m_file CompressedBlobReader* CompressedBlobReader::Create(const std::string& filename) { - if (IsCompressedBlob(filename)) + if (IsGCZBlob(filename)) return new CompressedBlobReader(filename); else return nullptr; @@ -148,7 +148,7 @@ bool CompressFileToBlob(const std::string& infile, const std::string& outfile, u { bool scrubbing = false; - if (IsCompressedBlob(infile)) + if (IsGCZBlob(infile)) { PanicAlertT("\"%s\" is already compressed! Cannot compress it further.", infile.c_str()); return false; @@ -330,7 +330,7 @@ bool CompressFileToBlob(const std::string& infile, const std::string& outfile, u bool DecompressBlobToFile(const std::string& infile, const std::string& outfile, CompressCB callback, void* arg) { - if (!IsCompressedBlob(infile)) + if (!IsGCZBlob(infile)) { PanicAlertT("File not compressed"); return false; @@ -400,7 +400,7 @@ bool DecompressBlobToFile(const std::string& infile, const std::string& outfile, return true; } -bool IsCompressedBlob(const std::string& filename) +bool IsGCZBlob(const std::string& filename) { File::IOFile f(filename, "rb"); -- cgit v1.2.3