diff options
| author | Léo Lam <leo@innovatetechnologi.es> | 2018-03-31 14:56:27 +0200 |
|---|---|---|
| committer | Léo Lam <leo@innovatetechnologi.es> | 2018-03-31 14:56:27 +0200 |
| commit | c82da2b978278d79eef5d7389bc128f6b6a1579f (patch) | |
| tree | 38a42e5ebe756d0a1f86712cf25f795cfdea061c /Source/Android/jni/MainAndroid.cpp | |
| parent | 329622120f23ec49471e520063b7eae2f3697164 (diff) | |
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.
Diffstat (limited to 'Source/Android/jni/MainAndroid.cpp')
| -rw-r--r-- | Source/Android/jni/MainAndroid.cpp | 16 |
1 files changed, 0 insertions, 16 deletions
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<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 |
