mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06: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:
@ -301,10 +301,9 @@ static std::string GetCompany(std::string filename)
|
||||
DiscIO::IVolume* pVolume = DiscIO::CreateVolumeFromFilename(filename);
|
||||
if (pVolume != nullptr)
|
||||
{
|
||||
std::string date = pVolume->GetCompany();
|
||||
__android_log_print(ANDROID_LOG_INFO, DOLPHIN_TAG, "Company: %s", date.c_str());
|
||||
|
||||
return date;
|
||||
std::string company = DiscIO::GetCompanyFromID(pVolume->GetMakerID());
|
||||
__android_log_print(ANDROID_LOG_INFO, DOLPHIN_TAG, "Company: %s", company.c_str());
|
||||
return company;
|
||||
}
|
||||
return std::string ("");
|
||||
}
|
||||
|
Reference in New Issue
Block a user