mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-12 21:31:39 +00: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:
parent
329622120f
commit
c82da2b978
6 changed files with 0 additions and 79 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue