From c17808867fb97025570658649a95dba6d6d96e73 Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 28 Mar 2013 15:41:30 +0400 Subject: [PATCH] gui/videosettings.cpp: add 1080p 50/60 modes --- src/gui/videosettings.cpp | 7 ++++++- src/system/settings.h | 4 ++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/gui/videosettings.cpp b/src/gui/videosettings.cpp index e2fe5b216..27f46688f 100644 --- a/src/gui/videosettings.cpp +++ b/src/gui/videosettings.cpp @@ -191,13 +191,18 @@ CMenuOptionChooser::keyval_ext VIDEOMENU_VIDEOMODE_OPTIONS[VIDEOMENU_VIDEOMODE_O { VIDEO_STD_576P, NONEXISTANT_LOCALE, "576p" }, { VIDEO_STD_720P50, NONEXISTANT_LOCALE, "720p 50Hz" }, { VIDEO_STD_1080I50, NONEXISTANT_LOCALE, "1080i 50Hz" }, +#ifdef BOXMODEL_APOLLO + { VIDEO_STD_1080P50, NONEXISTANT_LOCALE, "1080p 50Hz" }, +#endif { VIDEO_STD_1080P24, NONEXISTANT_LOCALE, "1080p 24Hz" }, { VIDEO_STD_1080P25, NONEXISTANT_LOCALE, "1080p 25Hz" }, - { VIDEO_STD_NTSC, NONEXISTANT_LOCALE, "NTSC" }, { VIDEO_STD_480P, NONEXISTANT_LOCALE, "480p" }, { VIDEO_STD_720P60, NONEXISTANT_LOCALE, "720p 60Hz" }, { VIDEO_STD_1080I60, NONEXISTANT_LOCALE, "1080i 60Hz" }, +#ifdef BOXMODEL_APOLLO + { VIDEO_STD_1080P60, NONEXISTANT_LOCALE, "1080p 60Hz" }, +#endif { VIDEO_STD_AUTO, NONEXISTANT_LOCALE, "Auto" } }; diff --git a/src/system/settings.h b/src/system/settings.h index 21ba71721..77d7b628d 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -39,7 +39,11 @@ #include +#ifdef BOXMODEL_APOLLO +#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 14 +#else #define VIDEOMENU_VIDEOMODE_OPTION_COUNT 12 +#endif struct SNeutrinoSettings {