mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-31 20:41:45 +01:00
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.
This commit is contained in:
parent
31cedb6192
commit
fe8f6fb48a
@ -128,7 +128,7 @@ core_tab::core_tab(std::shared_ptr<emu_settings> settings, QWidget *parent) : QW
|
||||
for (const auto& prxf : fs::dir(lle_dir))
|
||||
{
|
||||
// List found unselected modules
|
||||
if (prxf.is_directory || (prxf.name.substr(std::max<size_t>(size_t(3), prxf.name.length()) - 3)) != "prx")
|
||||
if (prxf.is_directory || (prxf.name.substr(std::max<size_t>(size_t(3), prxf.name.length()) - 4)) != "sprx")
|
||||
continue;
|
||||
if (verify_npdrm_self_headers(fs::file(lle_dir + prxf.name)) && !set.count(prxf.name))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user