mirror of
https://github.com/RPCS3/rpcs3.git
synced 2026-01-19 23:20:40 +01:00
ISO: Use clearer code to set game.icon_in_archive
- Suggested change from PR review
This commit is contained in:
parent
714359b544
commit
59f9a7c080
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue