Qt: Don't check for movies if play_hover_movies is disabled
Apparently this was forgotten. The variable was already captured
This commit is contained in:
@@ -621,6 +621,8 @@ void game_list_frame::OnParsingFinished()
|
|||||||
game.icon_in_archive = archive && archive->exists(game.info.icon_path);
|
game.icon_in_archive = archive && archive->exists(game.info.icon_path);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (play_hover_movies)
|
||||||
|
{
|
||||||
if (std::string movie_path = game_icon_path + game.info.serial + "/hover.gif"; file_exists(movie_path))
|
if (std::string movie_path = game_icon_path + game.info.serial + "/hover.gif"; file_exists(movie_path))
|
||||||
{
|
{
|
||||||
game.info.movie_path = std::move(movie_path);
|
game.info.movie_path = std::move(movie_path);
|
||||||
@@ -636,6 +638,7 @@ void game_list_frame::OnParsingFinished()
|
|||||||
game.info.movie_path = std::move(movie_path);
|
game.info.movie_path = std::move(movie_path);
|
||||||
game.has_hover_pam = true;
|
game.has_hover_pam = true;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (std::string audio_path = sfo_dir + "/SND0.AT3"; file_exists(audio_path))
|
if (std::string audio_path = sfo_dir + "/SND0.AT3"; file_exists(audio_path))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user