mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-12 19:19:03 +00:00
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:
commit
4ba430951a
5 changed files with 411 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue