added more cases for samsungtv to allow reuse main sdl code
svn-id: r45835
This commit is contained in:
parent
22e94ddd61
commit
2a1cd33a46
4 changed files with 6 additions and 122 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue