summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpeg_settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpeg_settings.c')
-rw-r--r--apps/plugins/mpegplayer/mpeg_settings.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/mpegplayer/mpeg_settings.c b/apps/plugins/mpegplayer/mpeg_settings.c
index 94781988c7..9e6fa57fb5 100644
--- a/apps/plugins/mpegplayer/mpeg_settings.c
+++ b/apps/plugins/mpegplayer/mpeg_settings.c
@@ -101,7 +101,7 @@ static struct configdata config[] =
101 {TYPE_INT, 0, 2, &settings.skipframes, "Skip frames", NULL, NULL}, 101 {TYPE_INT, 0, 2, &settings.skipframes, "Skip frames", NULL, NULL},
102 {TYPE_INT, 0, INT_MAX, &settings.resume_count, "Resume count", 102 {TYPE_INT, 0, INT_MAX, &settings.resume_count, "Resume count",
103 NULL, NULL}, 103 NULL, NULL},
104#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) 104#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200)
105 {TYPE_INT, 0, INT_MAX, &settings.displayoptions, "Display options", 105 {TYPE_INT, 0, INT_MAX, &settings.displayoptions, "Display options",
106 NULL, NULL}, 106 NULL, NULL},
107#endif 107#endif
@@ -119,7 +119,7 @@ static void display_options(void)
119 int options_quit = 0; 119 int options_quit = 0;
120 120
121 static const struct menu_item items[] = { 121 static const struct menu_item items[] = {
122#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) 122#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200)
123 [MPEG_OPTION_DITHERING] = 123 [MPEG_OPTION_DITHERING] =
124 { "Dithering", NULL }, 124 { "Dithering", NULL },
125#endif /* #ifdef TOSHIBA_GIGABEAT_F */ 125#endif /* #ifdef TOSHIBA_GIGABEAT_F */
@@ -142,7 +142,7 @@ static void display_options(void)
142 142
143 switch (result) 143 switch (result)
144 { 144 {
145#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) 145#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200)
146 case MPEG_OPTION_DITHERING: 146 case MPEG_OPTION_DITHERING:
147 result = (settings.displayoptions & LCD_YUV_DITHER) ? 1 : 0; 147 result = (settings.displayoptions & LCD_YUV_DITHER) ? 1 : 0;
148 rb->set_option("Dithering", &result, INT, noyes, 2, NULL); 148 rb->set_option("Dithering", &result, INT, noyes, 2, NULL);
@@ -463,7 +463,7 @@ void init_settings(const char* filename)
463 settings.limitfps = 1; /* Limit FPS */ 463 settings.limitfps = 1; /* Limit FPS */
464 settings.skipframes = 1; /* Skip frames */ 464 settings.skipframes = 1; /* Skip frames */
465 settings.resume_count = -1; 465 settings.resume_count = -1;
466#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) 466#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200)
467 settings.displayoptions = 0; /* No visual effects */ 467 settings.displayoptions = 0; /* No visual effects */
468#endif 468#endif
469 469
@@ -479,7 +479,7 @@ void init_settings(const char* filename)
479 SETTINGS_VERSION); 479 SETTINGS_VERSION);
480 } 480 }
481 481
482#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) 482#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200)
483 if ((settings.displayoptions = 483 if ((settings.displayoptions =
484 configfile_get_value(SETTINGS_FILENAME, "Display options")) < 0) 484 configfile_get_value(SETTINGS_FILENAME, "Display options")) < 0)
485 { 485 {
@@ -522,7 +522,7 @@ void save_settings(void)
522 ++settings.resume_count); 522 ++settings.resume_count);
523 } 523 }
524 524
525#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) 525#if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200)
526 configfile_update_entry(SETTINGS_FILENAME, "Display options", 526 configfile_update_entry(SETTINGS_FILENAME, "Display options",
527 settings.displayoptions); 527 settings.displayoptions);
528#endif 528#endif