From c82da2b978278d79eef5d7389bc128f6b6a1579f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9o=20Lam?= Date: Sat, 31 Mar 2018 14:56:27 +0200 Subject: 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. --- Source/Android/jni/MainAndroid.cpp | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'Source/Android/jni/MainAndroid.cpp') diff --git a/Source/Android/jni/MainAndroid.cpp b/Source/Android/jni/MainAndroid.cpp index cafd87979a..3ded4f0750 100644 --- a/Source/Android/jni/MainAndroid.cpp +++ b/Source/Android/jni/MainAndroid.cpp @@ -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 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 -- cgit v1.2.3