Frontends: Add .chd files to open filter
This commit is contained in:
parent
c1c82eb3f3
commit
070e6c32d6
|
@ -14,7 +14,7 @@
|
|||
|
||||
static constexpr char DISC_IMAGE_FILTER[] =
|
||||
"All File Types (*.bin *.img *.cue *.exe *.psexe);;Single-Track Raw Images (*.bin *.img);;Cue Sheets "
|
||||
"(*.cue);;PlayStation Executables (*.exe *.psexe)";
|
||||
"(*.cue);;MAME CHD Images (*.chd);;PlayStation Executables (*.exe *.psexe)";
|
||||
|
||||
MainWindow::MainWindow(QtHostInterface* host_interface) : QMainWindow(nullptr), m_host_interface(host_interface)
|
||||
{
|
||||
|
|
|
@ -1453,7 +1453,7 @@ void SDLHostInterface::DoStartDisc()
|
|||
Assert(!m_system);
|
||||
|
||||
nfdchar_t* path = nullptr;
|
||||
if (!NFD_OpenDialog("bin,img,cue,exe,psexe", nullptr, &path) || !path || std::strlen(path) == 0)
|
||||
if (!NFD_OpenDialog("bin,img,cue,chd,exe,psexe", nullptr, &path) || !path || std::strlen(path) == 0)
|
||||
return;
|
||||
|
||||
AddFormattedOSDMessage(2.0f, "Starting disc from '%s'...", path);
|
||||
|
@ -1489,7 +1489,7 @@ void SDLHostInterface::DoChangeDisc()
|
|||
Assert(m_system);
|
||||
|
||||
nfdchar_t* path = nullptr;
|
||||
if (!NFD_OpenDialog("bin,img,cue,exe,psexe", nullptr, &path) || !path || std::strlen(path) == 0)
|
||||
if (!NFD_OpenDialog("bin,img,cue,chd,exe,psexe", nullptr, &path) || !path || std::strlen(path) == 0)
|
||||
return;
|
||||
|
||||
if (m_system->InsertMedia(path))
|
||||
|
|
Loading…
Reference in New Issue