fix screen mode selection logic error on TD

wrong screen mode default "LCD" was introduced with commit 78bb53b64,
leading to HD framebuffer settings which don't make sense :-)


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2e5a63f70c
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-08-03 (Sat, 03 Aug 2013)



------------------
This commit was generated by Migit
This commit is contained in:
Stefan Seyfried
2013-08-03 18:48:33 +02:00
parent 1bb6be0139
commit 9362ed2b29

View File

@@ -687,8 +687,7 @@ int CNeutrinoApp::loadSetup(const char * fname)
#if HAVE_TRIPLEDRAGON #if HAVE_TRIPLEDRAGON
g_settings.screen_preset = 0; /* does not make sense to have two configurations for that... */ g_settings.screen_preset = 0; /* does not make sense to have two configurations for that... */
#endif #elif ! HAVE_COOLSTREAM
#if ! HAVE_COOLSTREAM
g_settings.screen_preset = 1; /* spark is now always using 1280x720 framebuffer */ g_settings.screen_preset = 1; /* spark is now always using 1280x720 framebuffer */
#endif #endif
g_settings.screen_StartX = g_settings.screen_preset ? g_settings.screen_StartX_lcd : g_settings.screen_StartX_crt; g_settings.screen_StartX = g_settings.screen_preset ? g_settings.screen_StartX_lcd : g_settings.screen_StartX_crt;