added more cases for samsungtv to allow reuse main sdl code

svn-id: r45835
This commit is contained in:
Paweł Kołodziejski 2009-11-11 14:36:46 +00:00
parent 22e94ddd61
commit 2a1cd33a46
4 changed files with 6 additions and 122 deletions

View file

@ -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() {