2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00

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

View file

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