summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZach Hilman <zachhilman@gmail.com>2018-08-09 21:37:35 -0400
committerZach Hilman <zachhilman@gmail.com>2018-08-09 21:37:35 -0400
commit8069fbd37f45637d90b6a90ab5d1e2e151ad9efd (patch)
treeeeed00f01c1e6939bfa89acf8ae8b7d32ec8b6b7
parentec3bef7b4c21931918f3a84ad79a53d31b02aeaf (diff)
game_list: Reorder error checks
clang-format fix
-rw-r--r--src/yuzu/game_list.cpp3
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
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()) {