mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-11 18:50:55 +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
|
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"));
|
_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;
|
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";
|
const std::string ico = sfo_dir + "/ICON0.PNG";
|
||||||
if (fs::is_file(ico))
|
if (fs::is_file(ico))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue