Merge pull request #4922 from Steveice10/master

Filter non-executable files out of the game list.
This commit is contained in:
James Rowe
2019-09-16 23:51:44 -06:00
committed by GitHub
4 changed files with 26 additions and 0 deletions

View File

@@ -49,6 +49,11 @@ void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsign
if (!loader)
return true;
bool executable = false;
loader->IsExecutable(executable);
if (!executable)
return true;
u64 program_id = 0;
loader->ReadProgramId(program_id);