mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-15 09:02:56 +00:00
yuzu: Avoid reading broken games
This commit is contained in:
parent
3e4029b238
commit
a0ed0e4e10
|
@ -265,7 +265,11 @@ void GameListWorker::AddTitlesToGameList(GameListDir* parent_dir) {
|
|||
std::vector<u8> icon;
|
||||
std::string name;
|
||||
u64 program_id = 0;
|
||||
loader->ReadProgramId(program_id);
|
||||
const auto result = loader->ReadProgramId(program_id);
|
||||
|
||||
if (result != Loader::ResultStatus::Success) {
|
||||
continue;
|
||||
}
|
||||
|
||||
const PatchManager patch{program_id, system.GetFileSystemController(),
|
||||
system.GetContentProvider()};
|
||||
|
|
Loading…
Reference in a new issue