diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2013-03-27 14:25:48 -0500 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2013-03-27 14:26:45 -0500 |
| commit | 507f53e2267b8600feeb8a5c32aa82f4de5c2c00 (patch) | |
| tree | 5cdecf77abb0fb40bee3511da5d094884107c871 /Source/Core/DolphinWX/Src/ISOFile.cpp | |
| parent | 6fe5f5a6bac3cc46e46f43adfcc4e021ec1b69db (diff) | |
Fixed issue 6119.
Diffstat (limited to 'Source/Core/DolphinWX/Src/ISOFile.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/Src/ISOFile.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/DolphinWX/Src/ISOFile.cpp b/Source/Core/DolphinWX/Src/ISOFile.cpp index 797780c32e..f28a6bca03 100644 --- a/Source/Core/DolphinWX/Src/ISOFile.cpp +++ b/Source/Core/DolphinWX/Src/ISOFile.cpp @@ -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]; @@ -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]; @@ -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]; @@ -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 |
