mirror of
https://git.suyu.dev/suyu/suyu
synced 2024-12-24 10:23:01 -06:00
game_list: Reorder error checks
clang-format fix
This commit is contained in:
parent
ec3bef7b4c
commit
8069fbd37f
1 changed files with 1 additions and 2 deletions
|
@ -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()) {
|
||||||
|
|
Loading…
Reference in a new issue