diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugin.c | 3 | ||||
-rw-r--r-- | apps/plugin.h | 7 | ||||
-rw-r--r-- | apps/plugins/mpegplayer/mpeg_settings.h | 3 |
3 files changed, 8 insertions, 5 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index 2149fdaee8..1f773cfd2d 100644 --- a/apps/plugin.c +++ b/apps/plugin.c | |||
@@ -187,7 +187,8 @@ static const struct plugin_api rockbox_api = { | |||
187 | #if defined(HAVE_LCD_COLOR) | 187 | #if defined(HAVE_LCD_COLOR) |
188 | lcd_yuv_blit, | 188 | lcd_yuv_blit, |
189 | #endif | 189 | #endif |
190 | #if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) | 190 | #if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \ |
191 | || defined (IRIVER_H10) | ||
191 | lcd_yuv_set_options, | 192 | lcd_yuv_set_options, |
192 | #endif | 193 | #endif |
193 | /* list */ | 194 | /* list */ |
diff --git a/apps/plugin.h b/apps/plugin.h index a291e2b9aa..f91d803854 100644 --- a/apps/plugin.h +++ b/apps/plugin.h | |||
@@ -119,12 +119,12 @@ | |||
119 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ | 119 | #define PLUGIN_MAGIC 0x526F634B /* RocK */ |
120 | 120 | ||
121 | /* increase this every time the api struct changes */ | 121 | /* increase this every time the api struct changes */ |
122 | #define PLUGIN_API_VERSION 97 | 122 | #define PLUGIN_API_VERSION 98 |
123 | 123 | ||
124 | /* update this to latest version if a change to the api struct breaks | 124 | /* update this to latest version if a change to the api struct breaks |
125 | backwards compatibility (and please take the opportunity to sort in any | 125 | backwards compatibility (and please take the opportunity to sort in any |
126 | new function which are "waiting" at the end of the function table) */ | 126 | new function which are "waiting" at the end of the function table) */ |
127 | #define PLUGIN_MIN_API_VERSION 97 | 127 | #define PLUGIN_MIN_API_VERSION 98 |
128 | 128 | ||
129 | /* plugin return codes */ | 129 | /* plugin return codes */ |
130 | enum plugin_status { | 130 | enum plugin_status { |
@@ -278,7 +278,8 @@ struct plugin_api { | |||
278 | int x, int y, int width, int height); | 278 | int x, int y, int width, int height); |
279 | #endif | 279 | #endif |
280 | 280 | ||
281 | #if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) | 281 | #if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \ |
282 | || defined (IRIVER_H10) | ||
282 | void (*lcd_yuv_set_options)(unsigned options); | 283 | void (*lcd_yuv_set_options)(unsigned options); |
283 | #endif | 284 | #endif |
284 | 285 | ||
diff --git a/apps/plugins/mpegplayer/mpeg_settings.h b/apps/plugins/mpegplayer/mpeg_settings.h index a55b2c33a5..4d6da478ea 100644 --- a/apps/plugins/mpegplayer/mpeg_settings.h +++ b/apps/plugins/mpegplayer/mpeg_settings.h | |||
@@ -5,7 +5,8 @@ | |||
5 | #define SETTINGS_MIN_VERSION 1 | 5 | #define SETTINGS_MIN_VERSION 1 |
6 | #define SETTINGS_FILENAME "mpegplayer.cfg" | 6 | #define SETTINGS_FILENAME "mpegplayer.cfg" |
7 | 7 | ||
8 | #if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) | 8 | #if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \ |
9 | || defined (IRIVER_H10) | ||
9 | #define MPEG_OPTION_DITHERING_ENABLED 1 | 10 | #define MPEG_OPTION_DITHERING_ENABLED 1 |
10 | #endif | 11 | #endif |
11 | 12 | ||