Merge pull request #3377 from JosJuice/elfdol-case
DolphinWX: Add missing m_ListElfDol cases
This commit is contained in:
commit
c80dede49f
|
@ -879,7 +879,8 @@ void CFrame::OnGameListCtrlItemActivated(wxListEvent& WXUNUSED(event))
|
|||
if (!m_GameListCtrl->GetISO(0) &&
|
||||
!((SConfig::GetInstance().m_ListGC &&
|
||||
SConfig::GetInstance().m_ListWii &&
|
||||
SConfig::GetInstance().m_ListWad) &&
|
||||
SConfig::GetInstance().m_ListWad &&
|
||||
SConfig::GetInstance().m_ListElfDol) &&
|
||||
(SConfig::GetInstance().m_ListJap &&
|
||||
SConfig::GetInstance().m_ListUsa &&
|
||||
SConfig::GetInstance().m_ListPal &&
|
||||
|
@ -898,6 +899,7 @@ void CFrame::OnGameListCtrlItemActivated(wxListEvent& WXUNUSED(event))
|
|||
SConfig::GetInstance().m_ListGC =
|
||||
SConfig::GetInstance().m_ListWii =
|
||||
SConfig::GetInstance().m_ListWad =
|
||||
SConfig::GetInstance().m_ListElfDol =
|
||||
SConfig::GetInstance().m_ListJap =
|
||||
SConfig::GetInstance().m_ListUsa =
|
||||
SConfig::GetInstance().m_ListPal =
|
||||
|
|
|
@ -326,12 +326,13 @@ void CGameListCtrl::Update()
|
|||
// We just check for one hide setting to be enabled, as we may only
|
||||
// have GC games for example, and hide them, so we should show the
|
||||
// second message instead
|
||||
if ((SConfig::GetInstance().m_ListGC &&
|
||||
SConfig::GetInstance().m_ListWii &&
|
||||
SConfig::GetInstance().m_ListWad) &&
|
||||
(SConfig::GetInstance().m_ListJap &&
|
||||
SConfig::GetInstance().m_ListUsa &&
|
||||
SConfig::GetInstance().m_ListPal))
|
||||
if ((SConfig::GetInstance().m_ListGC &&
|
||||
SConfig::GetInstance().m_ListWii &&
|
||||
SConfig::GetInstance().m_ListWad &&
|
||||
SConfig::GetInstance().m_ListElfDol) &&
|
||||
(SConfig::GetInstance().m_ListJap &&
|
||||
SConfig::GetInstance().m_ListUsa &&
|
||||
SConfig::GetInstance().m_ListPal))
|
||||
{
|
||||
errorString = _("Dolphin could not find any GameCube/Wii ISOs or WADs. Double-click here to browse for files...");
|
||||
}
|
||||
|
@ -569,6 +570,10 @@ void CGameListCtrl::ScanForISOs()
|
|||
if (!SConfig::GetInstance().m_ListWad)
|
||||
list = false;
|
||||
break;
|
||||
case DiscIO::IVolume::ELF_DOL:
|
||||
if (!SConfig::GetInstance().m_ListElfDol)
|
||||
list = false;
|
||||
break;
|
||||
default:
|
||||
if (!SConfig::GetInstance().m_ListGC)
|
||||
list = false;
|
||||
|
|
Loading…
Reference in New Issue