Don't show compress iso option for wbfs and ciso files.
Fixes issue 5809.
This commit is contained in:
parent
5ac1e908b1
commit
b3714f4874
|
@ -928,7 +928,8 @@ void CGameListCtrl::OnRightClick(wxMouseEvent& event)
|
||||||
{
|
{
|
||||||
if (selected_iso->IsCompressed())
|
if (selected_iso->IsCompressed())
|
||||||
popupMenu->Append(IDM_COMPRESSGCM, _("Decompress ISO..."));
|
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..."));
|
popupMenu->Append(IDM_COMPRESSGCM, _("Compress ISO..."));
|
||||||
} else
|
} else
|
||||||
popupMenu->Append(IDM_LIST_INSTALLWAD, _("Install to Wii Menu"));
|
popupMenu->Append(IDM_LIST_INSTALLWAD, _("Install to Wii Menu"));
|
||||||
|
|
Loading…
Reference in New Issue