Merge pull request #3290 from JosJuice/compression-condition

DolphinWX: Correct a compression condition
This commit is contained in:
Markus Wick 2015-11-30 13:53:50 +01:00
commit 02d5981b22
1 changed files with 3 additions and 1 deletions

View File

@ -1075,7 +1075,9 @@ void CGameListCtrl::CompressSelection(bool _compress)
for (u32 i = 0; i < m_numberItem; i++)
{
const GameListItem* iso = GetSelectedISO();
if (iso->GetPlatform() == DiscIO::IVolume::WII_WAD || iso->GetFileName().rfind(".wbfs") != std::string::npos)
if (iso->GetPlatform() != DiscIO::IVolume::GAMECUBE_DISC && iso->GetPlatform() != DiscIO::IVolume::WII_DISC)
continue;
if (iso->GetBlobType() != DiscIO::BlobType::PLAIN && iso->GetBlobType() != DiscIO::BlobType::GCZ)
continue;
if (!iso->IsCompressed() && _compress)