From a98c54f5f121f6323cb230e44b9f1b8d40b07283 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Sun, 21 Jun 2009 14:09:48 +0000 Subject: 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 --- apps/plugins/test_fps.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps/plugins') 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 -- cgit v1.1