Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Don't show compress iso option for wbfs and ciso files.
Fixes issue 5809.
  • Loading branch information
rog9 committed Dec 25, 2012
1 parent 5ac1e90 commit b3714f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Core/DolphinWX/Src/GameListCtrl.cpp
Expand Up @@ -928,7 +928,8 @@ void CGameListCtrl::OnRightClick(wxMouseEvent& event)
{
if (selected_iso->IsCompressed())
popupMenu->Append(IDM_COMPRESSGCM, _("Decompress ISO..."));
else
else if (selected_iso->GetFileName().substr(selected_iso->GetFileName().find_last_of(".")) != ".ciso"
&& selected_iso->GetFileName().substr(selected_iso->GetFileName().find_last_of(".")) != ".wbfs")
popupMenu->Append(IDM_COMPRESSGCM, _("Compress ISO..."));
} else
popupMenu->Append(IDM_LIST_INSTALLWAD, _("Install to Wii Menu"));
Expand Down

0 comments on commit b3714f4

Please sign in to comment.