aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kołodziejski2009-11-15 21:57:28 +0000
committerPaweł Kołodziejski2009-11-15 21:57:28 +0000
commit737f9312e5c9f2974880314cd3c69d437ed2b69d (patch)
treeb9ddff99471a9c9c7d637116074ddf3a4510195c
parent1123f7bcc5b2e465ef8352ef8cc2d3c43c253ae9 (diff)
downloadscummvm-rg350-737f9312e5c9f2974880314cd3c69d437ed2b69d.tar.gz
scummvm-rg350-737f9312e5c9f2974880314cd3c69d437ed2b69d.tar.bz2
scummvm-rg350-737f9312e5c9f2974880314cd3c69d437ed2b69d.zip
samsungtv: no need anymore exception for broken SDL_ShowCursor
svn-id: r45931
-rw-r--r--backends/platform/sdl/sdl.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index e4a4f62014..9eeb170981 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -137,9 +137,8 @@ void OSystem_SDL::initBackend() {
_graphicsMutex = createMutex();
-#if !defined(SAMSUNGTV)
SDL_ShowCursor(SDL_DISABLE);
-#endif
+
// Enable unicode support if possible
SDL_EnableUNICODE(1);
@@ -504,9 +503,9 @@ void OSystem_SDL::quit() {
if (_joystick)
SDL_JoystickClose(_joystick);
-#if !defined(SAMSUNGTV)
+
SDL_ShowCursor(SDL_ENABLE);
-#endif
+
SDL_RemoveTimer(_timerID);
closeMixer();