mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
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:
parent
881f6db2ab
commit
ec0370d2d1
12 changed files with 78 additions and 95 deletions
|
@ -191,7 +191,7 @@ std::string CVolumeDirectory::GetInternalName() const
|
|||
return "";
|
||||
}
|
||||
|
||||
std::map<IVolume::ELanguage, std::string> CVolumeDirectory::GetNames() const
|
||||
std::map<IVolume::ELanguage, std::string> CVolumeDirectory::GetNames(bool prefer_long) const
|
||||
{
|
||||
std::map<IVolume::ELanguage, std::string> names;
|
||||
std::string name = GetInternalName();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue