mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-27 23:08:47 +00:00
Undo some comment formatting changes from b5104a7
This commit is contained in:
parent
64cf74abb4
commit
1878605d77
7 changed files with 20 additions and 37 deletions
|
@ -274,10 +274,8 @@ static std::string GetTitle(std::string filename)
|
|||
titles = pVolume->GetShortNames();
|
||||
|
||||
/*
|
||||
bool is_wii_title = pVolume->GetVolumeType() !=
|
||||
DiscIO::IVolume::GAMECUBE_DISC;
|
||||
DiscIO::IVolume::ELanguage language =
|
||||
SConfig::GetInstance().GetCurrentLanguage(is_wii_title);
|
||||
bool is_wii_title = pVolume->GetVolumeType() != DiscIO::IVolume::GAMECUBE_DISC;
|
||||
DiscIO::IVolume::ELanguage language = SConfig::GetInstance().GetCurrentLanguage(is_wii_title);
|
||||
|
||||
auto it = titles.find(language);
|
||||
if (it != end)
|
||||
|
@ -285,8 +283,7 @@ static std::string GetTitle(std::string filename)
|
|||
|
||||
auto end = titles.end();
|
||||
|
||||
// English tends to be a good fallback when the requested language isn't
|
||||
// available
|
||||
// English tends to be a good fallback when the requested language isn't available
|
||||
// if (language != DiscIO::IVolume::ELanguage::LANGUAGE_ENGLISH) {
|
||||
auto it = titles.find(DiscIO::IVolume::ELanguage::LANGUAGE_ENGLISH);
|
||||
if (it != end)
|
||||
|
@ -318,10 +315,8 @@ static std::string GetDescription(std::string filename)
|
|||
std::map<DiscIO::IVolume::ELanguage, std::string> descriptions = volume->GetDescriptions();
|
||||
|
||||
/*
|
||||
bool is_wii_title = pVolume->GetVolumeType() !=
|
||||
DiscIO::IVolume::GAMECUBE_DISC;
|
||||
DiscIO::IVolume::ELanguage language =
|
||||
SConfig::GetInstance().GetCurrentLanguage(is_wii_title);
|
||||
bool is_wii_title = pVolume->GetVolumeType() != DiscIO::IVolume::GAMECUBE_DISC;
|
||||
DiscIO::IVolume::ELanguage language = SConfig::GetInstance().GetCurrentLanguage(is_wii_title);
|
||||
|
||||
auto it = descriptions.find(language);
|
||||
if (it != end)
|
||||
|
@ -329,8 +324,7 @@ static std::string GetDescription(std::string filename)
|
|||
|
||||
auto end = descriptions.end();
|
||||
|
||||
// English tends to be a good fallback when the requested language isn't
|
||||
// available
|
||||
// English tends to be a good fallback when the requested language isn't available
|
||||
// if (language != DiscIO::IVolume::ELanguage::LANGUAGE_ENGLISH) {
|
||||
auto it = descriptions.find(DiscIO::IVolume::ELanguage::LANGUAGE_ENGLISH);
|
||||
if (it != end)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue