mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
videosettings: simplify code for different platforms
make the videomode selection code more dynamic, the future goal is to get rid of the #ifdefs and select available modes at runtime
This commit is contained in:
@@ -44,21 +44,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#if HAVE_COOL_HARDWARE
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 12
|
||||
#endif
|
||||
#if HAVE_TRIPLEDRAGON
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 3
|
||||
#endif
|
||||
#if HAVE_SPARK_HARDWARE
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 9
|
||||
#endif
|
||||
#if HAVE_AZBOX_HARDWARE
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 9
|
||||
#endif
|
||||
#ifndef VIDEOMENU_VIDEOMODE_OPTION_COUNT
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 1
|
||||
#endif
|
||||
#define VIDEOMENU_VIDEOMODE_OPTION_COUNT 13
|
||||
|
||||
struct SNeutrinoSettings
|
||||
{
|
||||
|
Reference in New Issue
Block a user