mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
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:
@ -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
|
||||
|
Reference in New Issue
Block a user