Don't allow multi compress to compress wbfs or wad files.

This commit is contained in:
Rachel Bryk 2014-09-30 19:19:25 -04:00
parent 13fc8e7df1
commit 621d5c5cd8
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)
{