Merge pull request #1197 from RachelBryk/multicompress

Don't allow multi compress to compress wbfs or wad files.
This commit is contained in:
skidau 2014-10-04 13:09:43 +10:00
commit 6a3b05a9ea
1 changed files with 2 additions and 0 deletions

View File

@ -1104,6 +1104,8 @@ void CGameListCtrl::CompressSelection(bool _compress)
for (u32 i=0; i < m_numberItem; i++)
{
const GameListItem *iso = GetSelectedISO();
if (iso->GetPlatform() == GameListItem::WII_WAD || iso->GetFileName().rfind(".wbfs") != std::string::npos)
continue;
if (!iso->IsCompressed() && _compress)
{