Volume: Add prefer_long parameter to GetNames

GC games with long names store two variations of the name in
opening.bnr. This makes the shorter of those names available.
For volumes other than GC discs, prefer_long is ignored.
This commit is contained in:
JosJuice
2015-05-10 19:09:11 +02:00
parent 881f6db2ab
commit ec0370d2d1
12 changed files with 78 additions and 95 deletions

View File

@ -84,7 +84,7 @@ GameListItem::GameListItem(const std::string& _rFileName)
{
m_Platform = pVolume->GetVolumeType();
m_names = pVolume->GetNames();
m_names = pVolume->GetNames(true);
m_descriptions = pVolume->GetDescriptions();
m_company = pVolume->GetCompany();