diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-08-29 04:43:31 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-08-29 04:43:31 -0500 |
| commit | 160d72a9aea5600057ccadd9fae7ff6bc49c6643 (patch) | |
| tree | 7910fc4bdc85646bd9727b8b944430af3cc8a23f /Source/Core/Common/Src/StringUtil.cpp | |
| parent | c5a886100c9a2b1afb349c9bd63b19b256625238 (diff) | |
[Android] Add in a static libiconv library so non English games don't crash Dolphin Mobile.
Diffstat (limited to 'Source/Core/Common/Src/StringUtil.cpp')
| -rw-r--r-- | Source/Core/Common/Src/StringUtil.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Source/Core/Common/Src/StringUtil.cpp b/Source/Core/Common/Src/StringUtil.cpp index 25885552ef..3c0c01b25f 100644 --- a/Source/Core/Common/Src/StringUtil.cpp +++ b/Source/Core/Common/Src/StringUtil.cpp @@ -12,8 +12,6 @@ #ifdef _WIN32 #include <Windows.h> -#elif defined(ANDROID) - #else #include <iconv.h> #include <errno.h> @@ -454,9 +452,6 @@ std::string CodeToUTF8(const char* fromcode, const std::basic_string<T>& input) { std::string result; -#if defined(ANDROID) - result = (char*)input.c_str(); -#else iconv_t const conv_desc = iconv_open("UTF-8", fromcode); if ((iconv_t)-1 == conv_desc) { @@ -505,7 +500,6 @@ std::string CodeToUTF8(const char* fromcode, const std::basic_string<T>& input) iconv_close(conv_desc); } -#endif return result; } |
