Remove dead code

Unused, old code that is intended to be removed should not be left in
comments -- that is what version control is for.
This commit is contained in:
Léo Lam
2018-03-31 14:56:27 +02:00
parent 329622120f
commit c82da2b978
6 changed files with 0 additions and 79 deletions

View File

@ -281,14 +281,6 @@ static std::string GetTitle(std::string filename)
if (titles.empty())
titles = pVolume->GetShortNames();
/*
const bool is_wii_title = DiscIO::IsWii(pVolume->GetVolumeType());
DiscIO::Language language = SConfig::GetInstance().GetCurrentLanguage(is_wii_title);
auto it = titles.find(language);
if (it != end)
return it->second;*/
auto end = titles.end();
// English tends to be a good fallback when the requested language isn't available
@ -322,14 +314,6 @@ static std::string GetDescription(std::string filename)
{
std::map<DiscIO::Language, std::string> descriptions = volume->GetDescriptions();
/*
const bool is_wii_title = DiscIO::IsWii(pVolume->GetVolumeType());
DiscIO::Language language = SConfig::GetInstance().GetCurrentLanguage(is_wii_title);
auto it = descriptions.find(language);
if (it != end)
return it->second;*/
auto end = descriptions.end();
// English tends to be a good fallback when the requested language isn't available