suggested by sl1nk3, init all 6 languages.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2585 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
hyperiris 2009-03-07 04:46:06 +00:00
parent d2b581c564
commit 3d2ef57d7d
1 changed files with 7 additions and 3 deletions

View File

@ -58,13 +58,17 @@ GameListItem::GameListItem(const std::string& _rFileName)
if (pVolume != NULL) if (pVolume != NULL)
{ {
m_Name[0] = _rFileName;
m_Company = "N/A"; m_Company = "N/A";
m_Description[0] = "No Description"; for (int i = 0; i < 6; i++)
{
m_Name[i] = _rFileName; // Give an init value
m_Name[i] = pVolume->GetName();
m_Description[i] = "No Description";
}
m_Country = pVolume->GetCountry(); m_Country = pVolume->GetCountry();
m_FileSize = File::GetSize(_rFileName.c_str()); m_FileSize = File::GetSize(_rFileName.c_str());
m_VolumeSize = pVolume->GetSize(); m_VolumeSize = pVolume->GetSize();
m_Name[0] = pVolume->GetName();
m_UniqueID = pVolume->GetUniqueID(); m_UniqueID = pVolume->GetUniqueID();
m_BlobCompressed = DiscIO::IsCompressedBlob(_rFileName.c_str()); m_BlobCompressed = DiscIO::IsCompressedBlob(_rFileName.c_str());