Skip to content
Permalink
Browse files

Merge pull request #8014 from JosJuice/getuniqueidentifier-language-i…

…ndependent

Make GameFile::GetUniqueIdentifier independent of language setting
  • Loading branch information...
leoetlino committed May 1, 2019
2 parents 3f39aaf + 3bef561 commit ef88dd73b32b4de7b3ea509957a1f315662c0d0f
Showing with 6 additions and 1 deletion.
  1. +6 −1 Source/Core/UICommon/GameFile.cpp
@@ -468,7 +468,12 @@ std::string GameFile::GetUniqueIdentifier() const
if (GetRevision() != 0)
info.push_back("Revision " + std::to_string(GetRevision()));

const std::string& name = GetName();
std::string name = GetLongName(DiscIO::Language::English);
if (name.empty())
{
// Use the file name as a fallback. Not necessarily consistent, but it's the best we have
name = m_file_name;
}

int disc_number = GetDiscNumber() + 1;

0 comments on commit ef88dd7

Please sign in to comment.
You can’t perform that action at this time.