mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-29 09:05:41 +00:00
SDL: Support loading .psf files
This commit is contained in:
parent
205297ac27
commit
9c184c5733
|
@ -1257,7 +1257,7 @@ void SDLHostInterface::DoStartDisc()
|
|||
Assert(!m_system);
|
||||
|
||||
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;
|
||||
|
||||
AddFormattedOSDMessage(2.0f, "Starting disc from '%s'...", path);
|
||||
|
@ -1272,7 +1272,7 @@ void SDLHostInterface::DoChangeDisc()
|
|||
Assert(m_system);
|
||||
|
||||
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;
|
||||
|
||||
if (m_system->InsertMedia(path))
|
||||
|
|
Loading…
Reference in a new issue