aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r--backends/platform/sdl/sdl.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/backends/platform/sdl/sdl.cpp b/backends/platform/sdl/sdl.cpp
index 368522b9d5..e4a4f62014 100644
--- a/backends/platform/sdl/sdl.cpp
+++ b/backends/platform/sdl/sdl.cpp
@@ -137,8 +137,9 @@ void OSystem_SDL::initBackend() {
_graphicsMutex = createMutex();
+#if !defined(SAMSUNGTV)
SDL_ShowCursor(SDL_DISABLE);
-
+#endif
// Enable unicode support if possible
SDL_EnableUNICODE(1);
@@ -503,8 +504,9 @@ void OSystem_SDL::quit() {
if (_joystick)
SDL_JoystickClose(_joystick);
+#if !defined(SAMSUNGTV)
SDL_ShowCursor(SDL_ENABLE);
-
+#endif
SDL_RemoveTimer(_timerID);
closeMixer();
@@ -522,7 +524,9 @@ void OSystem_SDL::quit() {
delete getEventManager();
delete _savefile;
+#if !defined(SAMSUNGTV)
exit(0);
+#endif
}
void OSystem_SDL::setupIcon() {