mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #1197 from RachelBryk/multicompress
Don't allow multi compress to compress wbfs or wad files.
This commit is contained in:
commit
6a3b05a9ea
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user