yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

game_list: Reorder error checks

clang-format fix
This commit is contained in:
Zach Hilman 2018-08-09 21:37:35 -04:00
parent ec3bef7b4c
commit 8069fbd37f
1 changed files with 1 additions and 2 deletions

View File

@ -453,8 +453,7 @@ void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsign
std::string name = " ";
const auto res3 = loader->ReadTitle(name);
if (res1 != Loader::ResultStatus::Success &&
res3 != Loader::ResultStatus::Success &&
if (res1 != Loader::ResultStatus::Success && res3 != Loader::ResultStatus::Success &&
res2 == Loader::ResultStatus::Success) {
// Use from metadata pool.
if (nca_control_map.find(program_id) != nca_control_map.end()) {