diff options
| author | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-21 14:09:48 +0000 |
|---|---|---|
| committer | Rafaël Carré <rafael.carre@gmail.com> | 2009-06-21 14:09:48 +0000 |
| commit | a98c54f5f121f6323cb230e44b9f1b8d40b07283 (patch) | |
| tree | aa313998e0e59231b1bea4bb5cc790632a05dd46 /apps/plugin.c | |
| parent | 04451b436972de653804d0a178de648093453d53 (diff) | |
| download | rockbox-a98c54f5f121f6323cb230e44b9f1b8d40b07283.zip rockbox-a98c54f5f121f6323cb230e44b9f1b8d40b07283.tar.gz rockbox-a98c54f5f121f6323cb230e44b9f1b8d40b07283.tar.bz2 rockbox-a98c54f5f121f6323cb230e44b9f1b8d40b07283.tar.xz | |
Do not use lcd_blit_yuv() if MEMORYSIZE <= 2, since mpegplayer won't run anyway (and won't build)
Only affected target: Sansa c200v2
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21453 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugin.c')
| -rw-r--r-- | apps/plugin.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugin.c b/apps/plugin.c index c4e5a0b..20c7a37 100644 --- a/apps/plugin.c +++ b/apps/plugin.c @@ -126,11 +126,13 @@ static const struct plugin_api rockbox_api = { #if LCD_DEPTH == 16 lcd_bitmap_transparent_part, lcd_bitmap_transparent, +#if MEMORYSIZE > 2 lcd_blit_yuv, #if defined(TOSHIBA_GIGABEAT_F) || defined(SANSA_E200) || defined(SANSA_C200) \ || defined(IRIVER_H10) || defined(COWON_D2) || defined(PHILIPS_HDD1630) || defined(SANSA_FUZE) || defined(SANSA_E200V2) lcd_yuv_set_options, #endif +#endif /* MEMORYSIZE > 2 */ #elif (LCD_DEPTH < 4) && !defined(SIMULATOR) lcd_blit_mono, lcd_blit_grey_phase, |