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
commit 4b05078def
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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);