cellAudioOut: Use bev_bdvd for disc game PARAM.SFO

Game Data PARAM.SFO does not contain SOUND_FORMAT
This commit is contained in:
Megamouse 2022-06-04 11:41:35 +02:00
parent 1227b0a633
commit 1bbb26334a
3 changed files with 17 additions and 5 deletions

View file

@ -2222,4 +2222,19 @@ const std::string& Emulator::GetFakeCat() const
return m_cat;
};
const std::string Emulator::GetSfoDir(bool prefer_disc_sfo) const
{
if (prefer_disc_sfo)
{
const std::string sfo_dir = vfs::get("/dev_bdvd/PS3_GAME");
if (!sfo_dir.empty())
{
return sfo_dir;
}
}
return m_sfo_dir;
}
Emulator Emu;