mirror of https://github.com/RPCS3/rpcs3.git
Fix game title if unset
This commit is contained in:
parent
ef0196d791
commit
da6afb11f0
|
@ -391,7 +391,7 @@ void Emulator::Load(bool add_only)
|
||||||
|
|
||||||
return fs::file{elf_dir + "/../PARAM.SFO"};
|
return fs::file{elf_dir + "/../PARAM.SFO"};
|
||||||
}());
|
}());
|
||||||
m_title = psf::get_string(_psf, "TITLE", m_path);
|
m_title = psf::get_string(_psf, "TITLE", m_path.substr(m_path.find_last_of('/') + 1));
|
||||||
m_title_id = psf::get_string(_psf, "TITLE_ID");
|
m_title_id = psf::get_string(_psf, "TITLE_ID");
|
||||||
m_cat = psf::get_string(_psf, "CATEGORY");
|
m_cat = psf::get_string(_psf, "CATEGORY");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue