SDL: Support loading .psf files

This commit is contained in:
Connor McLaughlin 2020-04-17 00:30:19 +10:00
parent 205297ac27
commit 9c184c5733
1 changed files with 2 additions and 2 deletions

View File

@ -1257,7 +1257,7 @@ void SDLHostInterface::DoStartDisc()
Assert(!m_system); Assert(!m_system);
nfdchar_t* path = nullptr; nfdchar_t* path = nullptr;
if (!NFD_OpenDialog("bin,img,cue,chd,exe,psexe", nullptr, &path) || !path || std::strlen(path) == 0) if (!NFD_OpenDialog("bin,img,cue,chd,exe,psexe,psf", nullptr, &path) || !path || std::strlen(path) == 0)
return; return;
AddFormattedOSDMessage(2.0f, "Starting disc from '%s'...", path); AddFormattedOSDMessage(2.0f, "Starting disc from '%s'...", path);
@ -1272,7 +1272,7 @@ void SDLHostInterface::DoChangeDisc()
Assert(m_system); Assert(m_system);
nfdchar_t* path = nullptr; nfdchar_t* path = nullptr;
if (!NFD_OpenDialog("bin,img,cue,chd,exe,psexe", nullptr, &path) || !path || std::strlen(path) == 0) if (!NFD_OpenDialog("bin,img,cue,chd", nullptr, &path) || !path || std::strlen(path) == 0)
return; return;
if (m_system->InsertMedia(path)) if (m_system->InsertMedia(path))