aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl
diff options
context:
space:
mode:
authorPaweł Kołodziejski2009-11-11 14:36:46 +0000
committerPaweł Kołodziejski2009-11-11 14:36:46 +0000
commit2a1cd33a46853b50dd5061a104618f00cdff01d3 (patch)
treedb1ae0aebe0202013d9fd153781ffdc447e39da5 /backends/platform/sdl
parent22e94ddd61bbb044f99088311d53df60128bd935 (diff)
downloadscummvm-rg350-2a1cd33a46853b50dd5061a104618f00cdff01d3.tar.gz
scummvm-rg350-2a1cd33a46853b50dd5061a104618f00cdff01d3.tar.bz2
scummvm-rg350-2a1cd33a46853b50dd5061a104618f00cdff01d3.zip
added more cases for samsungtv to allow reuse main sdl code
svn-id: r45835
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() {