From 621d5c5cd8683c524a0fbcc1552f5930e65fa9c1 Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Tue, 30 Sep 2014 19:19:25 -0400 Subject: [PATCH] Don't allow multi compress to compress wbfs or wad files. --- Source/Core/DolphinWX/GameListCtrl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/DolphinWX/GameListCtrl.cpp b/Source/Core/DolphinWX/GameListCtrl.cpp index 08e963885d..be866d39c6 100644 --- a/Source/Core/DolphinWX/GameListCtrl.cpp +++ b/Source/Core/DolphinWX/GameListCtrl.cpp @@ -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) {