From 9c184c5733cd087f83cf2a339e122c78e3564faf Mon Sep 17 00:00:00 2001 From: Connor McLaughlin Date: Fri, 17 Apr 2020 00:30:19 +1000 Subject: [PATCH] SDL: Support loading .psf files --- src/duckstation-sdl/sdl_host_interface.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/duckstation-sdl/sdl_host_interface.cpp b/src/duckstation-sdl/sdl_host_interface.cpp index 1175a8433..a37d482b3 100644 --- a/src/duckstation-sdl/sdl_host_interface.cpp +++ b/src/duckstation-sdl/sdl_host_interface.cpp @@ -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))