mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 15:18:45 +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->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…
Add table
Add a link
Reference in a new issue