From ae91e8b693617b53d01725aa9d6e19db748559c4 Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Fri, 29 Jan 2010 08:25:24 +0000 Subject: fix the last of the red... note to self, fix backdrop.h! git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24368 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/backdrop.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'apps/gui/backdrop.h') diff --git a/apps/gui/backdrop.h b/apps/gui/backdrop.h index 22cdceb28e..2ab379e1cd 100644 --- a/apps/gui/backdrop.h +++ b/apps/gui/backdrop.h @@ -35,13 +35,17 @@ void backdrop_show(char* backdrop_buffer); #define LCD_BACKDROP_BYTES 0 #endif -#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 && !defined(__PCTOOL__) -#define REMOTE_LCD_BACKDROP_BYTES \ - (LCD_REMOTE_FBHEIGHT*LCD_REMOTE_FBWIDTH*sizeof(fb_remote_data)) +#if defined(HAVE_REMOTE_LCD) bool remote_backdrop_load(const char *filename, char* backdrop_buffer); void remote_backdrop_show(char* backdrop_buffer); + +#if LCD_DEPTH > 1 && LCD_REMOTE_DEPTH > 1 && !defined(__PCTOOL__) +#define REMOTE_LCD_BACKDROP_BYTES \ + (LCD_REMOTE_FBHEIGHT*LCD_REMOTE_FBWIDTH*sizeof(fb_remote_data)) #else #define REMOTE_LCD_BACKDROP_BYTES 0 #endif +#endif + #endif /* _BACKDROP_H */ -- cgit v1.2.3