diff options
| author | 2018-08-09 21:37:35 -0400 | |
|---|---|---|
| committer | 2018-08-09 21:37:35 -0400 | |
| commit | 8069fbd37f45637d90b6a90ab5d1e2e151ad9efd (patch) | |
| tree | eeed00f01c1e6939bfa89acf8ae8b7d32ec8b6b7 | |
| parent | loader: Add more descriptive errors (diff) | |
| download | yuzu-8069fbd37f45637d90b6a90ab5d1e2e151ad9efd.tar.gz yuzu-8069fbd37f45637d90b6a90ab5d1e2e151ad9efd.tar.xz yuzu-8069fbd37f45637d90b6a90ab5d1e2e151ad9efd.zip | |
game_list: Reorder error checks
clang-format fix
| -rw-r--r-- | src/yuzu/game_list.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index d0455cbca..85cb12594 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp | |||
| @@ -453,8 +453,7 @@ void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsign | |||
| 453 | std::string name = " "; | 453 | std::string name = " "; |
| 454 | const auto res3 = loader->ReadTitle(name); | 454 | const auto res3 = loader->ReadTitle(name); |
| 455 | 455 | ||
| 456 | if (res1 != Loader::ResultStatus::Success && | 456 | if (res1 != Loader::ResultStatus::Success && res3 != Loader::ResultStatus::Success && |
| 457 | res3 != Loader::ResultStatus::Success && | ||
| 458 | res2 == Loader::ResultStatus::Success) { | 457 | res2 == Loader::ResultStatus::Success) { |
| 459 | // Use from metadata pool. | 458 | // Use from metadata pool. |
| 460 | if (nca_control_map.find(program_id) != nca_control_map.end()) { | 459 | if (nca_control_map.find(program_id) != nca_control_map.end()) { |