fix clang-format

This commit is contained in:
B3n30
2020-03-15 18:42:53 +01:00
parent ae4ba287d5
commit 391580c658
2 changed files with 16 additions and 22 deletions

View File

@@ -46,15 +46,13 @@ void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsign
const bool is_dir = FileUtil::IsDirectory(physical_name);
if (!is_dir && HasSupportedFileExtension(physical_name)) {
std::unique_ptr<Loader::AppLoader> loader = Loader::GetLoader(physical_name);
if (!loader)
{
if (!loader) {
return true;
}
bool executable = false;
auto res = loader->IsExecutable(executable);
if (!executable && res != Loader::ResultStatus::ErrorEncrypted)
{
auto res = loader->IsExecutable(executable);
if (!executable && res != Loader::ResultStatus::ErrorEncrypted) {
return true;
}