mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 11:08:56 +00:00
DiscIO: Add convenience methods IsDisc and IsWii for Platform enum
This commit is contained in:
parent
e14a82a87e
commit
23bb029250
5 changed files with 19 additions and 7 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue