mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-11 16:49:28 +02:00
Undo some comment formatting changes from b5104a7
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user