mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-04-22 04:24:44 +00:00
Update main_window.cpp
fix snd0path
This commit is contained in:
parent
4cd4e7131a
commit
326d7c25c9
1 changed files with 2 additions and 2 deletions
|
@ -519,7 +519,7 @@ void MainWindow::PlayBackgroundMusic() {
|
|||
: m_game_grid_frame->crtRow * m_game_grid_frame->columnCnt +
|
||||
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);
|
||||
}
|
||||
|
||||
|
@ -1031,4 +1031,4 @@ void MainWindow::OnLanguageChanged(const std::string& locale) {
|
|||
Config::setEmulatorLanguage(locale);
|
||||
|
||||
LoadTranslation();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue