From 57f3e1c90748df95fd0327774e65f89a327b55a3 Mon Sep 17 00:00:00 2001 From: Rachel Bryk Date: Mon, 17 Mar 2014 03:04:22 -0400 Subject: [PATCH] Add extract dol/apploader options back for gc disks. It was removed from the menu for the disk item in 868c6278, but we want to keep it there for gc games, since they don't have separate partitions. --- Source/Core/DolphinWX/ISOProperties.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinWX/ISOProperties.cpp b/Source/Core/DolphinWX/ISOProperties.cpp index 1729e5bb55..02537df1fe 100644 --- a/Source/Core/DolphinWX/ISOProperties.cpp +++ b/Source/Core/DolphinWX/ISOProperties.cpp @@ -694,12 +694,18 @@ void CISOProperties::OnRightClickOnTree(wxTreeEvent& event) popupMenu->Append(IDM_EXTRACTALL, _("Extract All Files...")); - if (m_Treectrl->GetItemImage(m_Treectrl->GetSelection()) == 0 && - m_Treectrl->GetFirstVisibleItem() != m_Treectrl->GetSelection()) + if (!DiscIO::IsVolumeWiiDisc(OpenISO) || + (m_Treectrl->GetItemImage(m_Treectrl->GetSelection()) == 0 && + m_Treectrl->GetFirstVisibleItem() != m_Treectrl->GetSelection())) { popupMenu->AppendSeparator(); popupMenu->Append(IDM_EXTRACTAPPLOADER, _("Extract Apploader...")); popupMenu->Append(IDM_EXTRACTDOL, _("Extract DOL...")); + } + + if (m_Treectrl->GetItemImage(m_Treectrl->GetSelection()) == 0 && + m_Treectrl->GetFirstVisibleItem() != m_Treectrl->GetSelection()) + { popupMenu->AppendSeparator(); popupMenu->Append(IDM_CHECKINTEGRITY, _("Check Partition Integrity")); }