aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-08-14 21:48:50 +0200
committerFilippos Karapetis2019-08-24 18:12:45 +0300
commit96270d4bf23aa77bcda5ec98b808dcd26931e0b1 (patch)
treeac4bd0a6ed844309b4a3838c461d22068de3802c /backends/platform
parent4edf35e414aa43fcce8c5a25aff6b1f1ce92244f (diff)
downloadscummvm-rg350-96270d4bf23aa77bcda5ec98b808dcd26931e0b1.tar.gz
scummvm-rg350-96270d4bf23aa77bcda5ec98b808dcd26931e0b1.tar.bz2
scummvm-rg350-96270d4bf23aa77bcda5ec98b808dcd26931e0b1.zip
JANITORIAL: Remove debuging code.
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/sdl/sdl.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index 0139bac29d..800df58ed3 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -770,7 +770,6 @@ int SDL_SetColorKey_replacement(SDL_Surface *surface, Uint32 flag, Uint32 key) {
char *OSystem_SDL::convertEncoding(const char *to, const char *from, const char *string, size_t length) {
#if SDL_VERSION_ATLEAST(2, 0, 0)
- debug("Trying SDL...");
int zeroBytes = 1;
if (Common::String(from).hasPrefixIgnoreCase("utf-16"))
zeroBytes = 2;
@@ -778,7 +777,6 @@ char *OSystem_SDL::convertEncoding(const char *to, const char *from, const char
zeroBytes = 4;
return SDL_iconv_string(to, from, string, length + zeroBytes);
#else
- debug("SDL isn't available");
return nullptr;
#endif // SDL_VERSION_ATLEAST(2, 0, 0)
}