mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-10 21:00:06 +00:00
Filter non-executable files out of the game list.
This commit is contained in:
parent
4bc22aa350
commit
5cf684c951
4 changed files with 26 additions and 0 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue