Don't allow multi compress to compress wbfs or wad files.
This commit is contained in:
parent
13fc8e7df1
commit
621d5c5cd8
|
@ -1104,6 +1104,8 @@ void CGameListCtrl::CompressSelection(bool _compress)
|
||||||
for (u32 i=0; i < m_numberItem; i++)
|
for (u32 i=0; i < m_numberItem; i++)
|
||||||
{
|
{
|
||||||
const GameListItem *iso = GetSelectedISO();
|
const GameListItem *iso = GetSelectedISO();
|
||||||
|
if (iso->GetPlatform() == GameListItem::WII_WAD || iso->GetFileName().rfind(".wbfs") != std::string::npos)
|
||||||
|
continue;
|
||||||
|
|
||||||
if (!iso->IsCompressed() && _compress)
|
if (!iso->IsCompressed() && _compress)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue