diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/yuzu/game_list_worker.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/yuzu/game_list_worker.cpp b/src/yuzu/game_list_worker.cpp index 5c910c9e0..9404365b4 100644 --- a/src/yuzu/game_list_worker.cpp +++ b/src/yuzu/game_list_worker.cpp | |||
| @@ -265,7 +265,11 @@ void GameListWorker::AddTitlesToGameList(GameListDir* parent_dir) { | |||
| 265 | std::vector<u8> icon; | 265 | std::vector<u8> icon; |
| 266 | std::string name; | 266 | std::string name; |
| 267 | u64 program_id = 0; | 267 | u64 program_id = 0; |
| 268 | loader->ReadProgramId(program_id); | 268 | const auto result = loader->ReadProgramId(program_id); |
| 269 | |||
| 270 | if (result != Loader::ResultStatus::Success) { | ||
| 271 | continue; | ||
| 272 | } | ||
| 269 | 273 | ||
| 270 | const PatchManager patch{program_id, system.GetFileSystemController(), | 274 | const PatchManager patch{program_id, system.GetFileSystemController(), |
| 271 | system.GetContentProvider()}; | 275 | system.GetContentProvider()}; |