neutrino: show only usable video modes and video options on TD

This commit is contained in:
Stefan Seyfried
2010-11-28 19:08:57 +01:00
parent 4405bb367c
commit bb3e8ebe23
3 changed files with 36 additions and 6 deletions

View File

@@ -354,8 +354,10 @@ int CNeutrinoApp::loadSetup(const char * fname)
sprintf(cfg_key, "enabled_video_mode_%d", i);
g_settings.enabled_video_modes[i] = configfile.getInt32(cfg_key, 0);
}
#if VIDEOMENU_VIDEOMODE_OPTION_COUNT > 3
g_settings.enabled_video_modes[3] = 1; // 720p 50Hz
g_settings.enabled_video_modes[4] = 1; // 1080i 50Hz
#endif
g_settings.cpufreq = configfile.getInt32("cpufreq", 0);
g_settings.standby_cpufreq = configfile.getInt32("standby_cpufreq", 100);