fix screen mode selection logic error on TD

wrong screen mode default "LCD" was introduced with commit eb9eba891,
leading to HD framebuffer settings which don't make sense :-)
This commit is contained in:
Stefan Seyfried
2013-08-03 18:48:33 +02:00
parent 6f0bf5e1e3
commit 2e5a63f70c

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;