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/plugins | |
| 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/plugins')
| -rw-r--r-- | apps/plugins/test_fps.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/test_fps.c b/apps/plugins/test_fps.c index cba08f2..ddbd51c 100644 --- a/apps/plugins/test_fps.c +++ b/apps/plugins/test_fps.c @@ -132,7 +132,7 @@ static void time_main_update(void) log_text(str); } -#ifdef HAVE_LCD_COLOR +#if defined(HAVE_LCD_COLOR) && (MEMORYSIZE > 2) #if LCD_WIDTH >= LCD_HEIGHT #define YUV_WIDTH LCD_WIDTH @@ -353,7 +353,7 @@ enum plugin_status plugin_start(const void* parameter) log_text("Main LCD Update"); time_main_update(); -#ifdef HAVE_LCD_COLOR +#if defined(HAVE_LCD_COLOR) && (MEMORYSIZE > 2) log_text("Main LCD YUV"); time_main_yuv(); #endif |