Skip to content

Commit e674414

Browse files
authored
Add Audio support for BPM ICON1.PAM (#19336)
Previously in the Big Picture Mode when selecting a game to look at its details, the ICON1.PAM video would start to play but there would be no audio playing if the .PAM file had it. This PR fixes that. Note: the change in qt_video_source.cpp is needed because it seemed like it didn't use it's own parameter. Without that, the audio would not fade out even after you left the game details.
1 parent c85105a commit e674414

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

rpcs3/Emu/RSX/Overlays/BigPicture/overlay_big_picture_game_details.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ namespace rsx
7171

7272
if (!info.movie_path.empty())
7373
{
74-
m_video = std::make_unique<video_view>(info.movie_path, "", info.icon_path);
74+
m_video = std::make_unique<video_view>(info.movie_path, info.audio_path, info.icon_path);
7575
m_video->set_pos(m_icon.x, m_icon.y);
7676
m_video->set_size(m_icon.w, m_icon.h);
7777
m_video->set_active(true);

rpcs3/rpcs3qt/qt_video_source.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ void qt_video_source_wrapper::set_active(bool active)
482482
Emu.CallFromMainThread([this, active]()
483483
{
484484
ensure(m_qt_video_source);
485-
m_qt_video_source->set_active(true);
485+
m_qt_video_source->set_active(active);
486486
});
487487
}
488488

0 commit comments

Comments
 (0)