Filter non-executable files out of the game list.

This commit is contained in:
Steveice10
2019-09-07 01:52:18 -07:00
parent 4bc22aa350
commit 5cf684c951
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);