Merge pull request #2439 from JosJuice/company-from-id
Use an ID-to-name map when volume has no company string
This commit is contained in:
@@ -129,6 +129,9 @@ GameFile::GameFile(const QString& fileName)
|
||||
}
|
||||
}
|
||||
|
||||
if (m_company.isEmpty() && m_unique_id.size() >= 6)
|
||||
m_company = QString::fromStdString(DiscIO::GetCompanyFromID(m_unique_id.mid(4, 2).toStdString()));
|
||||
|
||||
if (m_valid)
|
||||
{
|
||||
IniFile ini = SCoreStartupParameter::LoadGameIni(m_unique_id.toStdString(), m_revision);
|
||||
|
||||
Reference in New Issue
Block a user