Permalink
Browse files

Fix #5370 regression

  • Loading branch information...
Nekotekina committed Dec 4, 2018
1 parent 476090a commit 92be67b4028a3eb91196bdc0837546180a765980
Showing with 2 additions and 2 deletions.
  1. +1 −1 rpcs3/Emu/System.cpp
  2. +1 −1 rpcs3/rpcs3qt/main_window.cpp
@@ -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))
{

0 comments on commit 92be67b

Please sign in to comment.