mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 05:40:01 -06:00
Volume: Rename GetName to GetInternalName
This is intended to better separate it from GetNames and to clarify that this name originally wasn't meant to be shown to users. The ISOProperties GUI is also updated, mainly because labeling the long banner name "short name" was confusing.
This commit is contained in:
@ -182,7 +182,7 @@ std::string CVolumeDirectory::GetMakerID() const
|
||||
return "VOID";
|
||||
}
|
||||
|
||||
std::string CVolumeDirectory::GetName() const
|
||||
std::string CVolumeDirectory::GetInternalName() const
|
||||
{
|
||||
char name[0x60];
|
||||
if (Read(0x20, 0x60, (u8*)name, false))
|
||||
@ -194,7 +194,7 @@ std::string CVolumeDirectory::GetName() const
|
||||
std::map<IVolume::ELanguage, std::string> CVolumeDirectory::GetNames() const
|
||||
{
|
||||
std::map<IVolume::ELanguage, std::string> names;
|
||||
std::string name = GetName();
|
||||
std::string name = GetInternalName();
|
||||
if (!name.empty())
|
||||
names[IVolume::ELanguage::LANGUAGE_UNKNOWN] = name;
|
||||
return names;
|
||||
|
Reference in New Issue
Block a user