mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-19 19:15:26 +00: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue