ISO: Use clearer code to set game.icon_in_archive

- Suggested change from PR review
This commit is contained in:
Functionable 2026-01-07 19:45:19 +00:00 committed by Elad
parent 714359b544
commit 59f9a7c080

View file

@ -619,13 +619,7 @@ void game_list_frame::OnParsingFinished()
{
game.info.icon_path = sfo_dir + "/ICON0.PNG";
}
if (!game.info.icon_path.empty() && archive)
{
if (!archive->exists(game.info.icon_path)) return;
game.icon_in_archive = true;
}
game.icon_in_archive = archive && archive->exists(game.info.icon_path);
}
if (std::string movie_path = game_icon_path + game.info.serial + "/hover.gif"; file_exists(movie_path))