mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 03:25:16 +00:00
Fix #5370 regression
This commit is contained in:
parent
476090a747
commit
92be67b402
2 changed files with 2 additions and 2 deletions
|
@ -657,7 +657,7 @@ void Emulator::Load(bool add_only)
|
|||
}
|
||||
else
|
||||
{
|
||||
m_sfo_dir = GetSfoDirFromGamePath(fs::get_parent_dir(elf_dir), GetUsr());
|
||||
m_sfo_dir = GetSfoDirFromGamePath(elf_dir + "/../", GetUsr());
|
||||
}
|
||||
|
||||
_psf = psf::load_object(fs::file(m_sfo_dir + "/PARAM.SFO"));
|
||||
|
|
|
@ -194,7 +194,7 @@ void main_window::SetAppIconFromPath(const std::string& path)
|
|||
{
|
||||
if (!fs::is_dir(pth)) continue;
|
||||
|
||||
const std::string sfo_dir = Emu.GetSfoDirFromGamePath(path, Emu.GetUsr());
|
||||
const std::string sfo_dir = Emu.GetSfoDirFromGamePath(pth, Emu.GetUsr());
|
||||
const std::string ico = sfo_dir + "/ICON0.PNG";
|
||||
if (fs::is_file(ico))
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue