mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-06 01:12:33 +00:00
Update main_window.cpp
fix snd0path
This commit is contained in:
parent
4cd4e7131a
commit
326d7c25c9
@ -519,7 +519,7 @@ void MainWindow::PlayBackgroundMusic() {
|
|||||||
: m_game_grid_frame->crtRow * m_game_grid_frame->columnCnt +
|
: m_game_grid_frame->crtRow * m_game_grid_frame->columnCnt +
|
||||||
m_game_grid_frame->crtColumn;
|
m_game_grid_frame->crtColumn;
|
||||||
|
|
||||||
const auto snd0path = QString::fromStdString(m_game_info->m_games[itemID].snd0_path);
|
QString snd0path = Common::FS::PathToQString(m_game_info->m_games[itemID].snd0_path);
|
||||||
BackgroundMusicPlayer::getInstance().playMusic(snd0path);
|
BackgroundMusicPlayer::getInstance().playMusic(snd0path);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1031,4 +1031,4 @@ void MainWindow::OnLanguageChanged(const std::string& locale) {
|
|||||||
Config::setEmulatorLanguage(locale);
|
Config::setEmulatorLanguage(locale);
|
||||||
|
|
||||||
LoadTranslation();
|
LoadTranslation();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user