Skip to content

Commit fe8f6fb

Browse files
AniLeoNekotekina
authored andcommitted
GUI: List SPRX modules only
Excludes .prx modules from being listed, which prevents user from downloading random folders from the web that only have .prx modules and break auto load.
1 parent 31cedb6 commit fe8f6fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rpcs3/rpcs3qt/core_tab.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ core_tab::core_tab(std::shared_ptr<emu_settings> settings, QWidget *parent) : QW
128128
for (const auto& prxf : fs::dir(lle_dir))
129129
{
130130
// List found unselected modules
131-
if (prxf.is_directory || (prxf.name.substr(std::max<size_t>(size_t(3), prxf.name.length()) - 3)) != "prx")
131+
if (prxf.is_directory || (prxf.name.substr(std::max<size_t>(size_t(3), prxf.name.length()) - 4)) != "sprx")
132132
continue;
133133
if (verify_npdrm_self_headers(fs::file(lle_dir + prxf.name)) && !set.count(prxf.name))
134134
{

0 commit comments

Comments
 (0)