From ab816543c8519882811f86057a4ff50eae7bed94 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Wed, 15 Dec 2021 09:38:04 +0000 Subject: [PATCH] CDVD: Fixed typo opening gzip files Fixes #5162 --- pcsx2/CDVD/GzippedFileReader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcsx2/CDVD/GzippedFileReader.cpp b/pcsx2/CDVD/GzippedFileReader.cpp index 71d37c5eb8..247e58e5f1 100644 --- a/pcsx2/CDVD/GzippedFileReader.cpp +++ b/pcsx2/CDVD/GzippedFileReader.cpp @@ -300,7 +300,7 @@ bool GzippedFileReader::OkIndex() // Try to read index from disk const std::string indexfile(iso2indexname(m_filename)); - if (indexfile.empty() == 0) + if (indexfile.empty()) return false; // iso2indexname(...) will print errors if it can't apply the template if (FileSystem::FileExists(indexfile.c_str()) && (m_pIndex = ReadIndexFromFile(indexfile.c_str())))