Skip to content

Commit

Permalink
Fixed issue 6119.
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-woyak committed Mar 27, 2013
1 parent 6fe5f5a commit 507f53e
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Source/Core/DolphinWX/Src/ISOFile.cpp
Expand Up @@ -211,10 +211,10 @@ std::string GameListItem::GetCompany() const
return m_company;
}

// (-1 = Japanese, 0 = English, etc)
// (-1 = Japanese, 0 = English, etc)?
std::string GameListItem::GetDescription(int _index) const
{
const u32 index = _index + 1;
const u32 index = _index;

if (index < m_descriptions.size())
return m_descriptions[index];
Expand All @@ -225,10 +225,10 @@ std::string GameListItem::GetDescription(int _index) const
return "";
}

// (-1 = Japanese, 0 = English, etc)
// (-1 = Japanese, 0 = English, etc)?
std::string GameListItem::GetVolumeName(int _index) const
{
u32 const index = _index + 1;
u32 const index = _index;

if (index < m_volume_names.size() && !m_volume_names[index].empty())
return m_volume_names[index];
Expand All @@ -239,10 +239,10 @@ std::string GameListItem::GetVolumeName(int _index) const
return "";
}

// (-1 = Japanese, 0 = English, etc)
// (-1 = Japanese, 0 = English, etc)?
std::string GameListItem::GetBannerName(int _index) const
{
u32 const index = _index + 1;
u32 const index = _index;

if (index < m_names.size() && !m_names[index].empty())
return m_names[index];
Expand All @@ -253,7 +253,7 @@ std::string GameListItem::GetBannerName(int _index) const
return "";
}

// (-1 = Japanese, 0 = English, etc)
// (-1 = Japanese, 0 = English, etc)?
std::string GameListItem::GetName(int _index) const
{
// Prefer name from banner, fallback to name from volume, fallback to filename
Expand Down

0 comments on commit 507f53e

Please sign in to comment.