neutrino: use correct screen preset for PAL on spark

This commit is contained in:
Stefan Seyfried
2012-03-10 16:23:51 +01:00
parent 448131d0e9
commit 7977665931

View File

@@ -297,7 +297,7 @@ const lcd_setting_struct_t lcd_setting[SNeutrinoSettings::LCD_SETTING_COUNT] =
/************************************************************************************** /**************************************************************************************
* CNeutrinoApp - loadSetup, load the application-settings * * CNeutrinoApp - loadSetup, load the application-settings *
**************************************************************************************/ **************************************************************************************/
#if HAVE_TRIPLEDRAGON #if HAVE_TRIPLEDRAGON || HAVE_SPARK_HARDWARE
#define DEFAULT_X_START_SD 32 #define DEFAULT_X_START_SD 32
#define DEFAULT_Y_START_SD 26 #define DEFAULT_Y_START_SD 26
#define DEFAULT_X_END_SD 694 #define DEFAULT_X_END_SD 694
@@ -636,6 +636,8 @@ int CNeutrinoApp::loadSetup(const char * fname)
#if HAVE_TRIPLEDRAGON #if HAVE_TRIPLEDRAGON
/* does not make sense to have two configurations for that... */ /* does not make sense to have two configurations for that... */
g_settings.screen_preset = 0; g_settings.screen_preset = 0;
#elif HAVE_SPARK_HARDWARE
g_settings.screen_preset = (g_settings.video_Mode > VIDEO_STD_576P);
#else #else
g_settings.screen_preset = configfile.getInt32( "screen_preset", 1); g_settings.screen_preset = configfile.getInt32( "screen_preset", 1);
#endif #endif