mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
Warn about corrupted PARAM.SFO
This commit is contained in:
parent
a92bf39efa
commit
78f7020ce6
1 changed files with 6 additions and 0 deletions
|
@ -386,6 +386,12 @@ void Emulator::Load(bool add_only)
|
||||||
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");
|
||||||
|
|
||||||
|
if (!_psf.empty() && m_cat.empty())
|
||||||
|
{
|
||||||
|
LOG_FATAL(LOADER, "Corrupted PARAM.SFO found! Assuming category GD. Try reinstalling the game.");
|
||||||
|
m_cat = "GD";
|
||||||
|
}
|
||||||
|
|
||||||
LOG_NOTICE(LOADER, "Title: %s", GetTitle());
|
LOG_NOTICE(LOADER, "Title: %s", GetTitle());
|
||||||
LOG_NOTICE(LOADER, "Serial: %s", GetTitleID());
|
LOG_NOTICE(LOADER, "Serial: %s", GetTitleID());
|
||||||
LOG_NOTICE(LOADER, "Category: %s", GetCat());
|
LOG_NOTICE(LOADER, "Category: %s", GetCat());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue