mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 00:13:08 +00:00
loop music
This commit is contained in:
parent
e2a5a0a71e
commit
260a1278a4
@ -23,6 +23,7 @@ void BackgroundMusicPlayer::playMusic(const QString& snd0path) {
|
||||
|
||||
m_currentMusic = newMusic;
|
||||
m_mediaPlayer->setSource(newMusic);
|
||||
m_mediaPlayer->setLoops(QMediaPlayer::Infinite);
|
||||
m_mediaPlayer->play();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user