DiscIO: Add convenience methods IsDisc and IsWii for Platform enum

This commit is contained in:
JosJuice
2017-06-17 12:26:32 +02:00
parent e14a82a87e
commit 23bb029250
5 changed files with 19 additions and 7 deletions

View File

@ -430,7 +430,7 @@ void CISOProperties::CreateGUIControls()
gecko_layout->Add(m_geckocode_panel, 1, wxEXPAND);
gecko_cheat_page->SetSizer(gecko_layout);
if (m_open_iso->GetVolumeType() != DiscIO::Platform::WII_WAD)
if (DiscIO::IsDisc(m_open_iso->GetVolumeType()))
{
m_Notebook->AddPage(new FilesystemPanel(m_Notebook, ID_FILESYSTEM, m_open_iso),
_("Filesystem"));