From 2a2b8d8a8234633779dca0fff5e7ce23ad4c48ed Mon Sep 17 00:00:00 2001 From: Nicolas Pennequin Date: Wed, 25 Apr 2007 13:09:56 +0000 Subject: Make bitmaps use the right format in a RWPS and prevent a backdrop tag in a RWPS from clearing the main display's backdrop. This also allows future backdrop support for LCD remotes by making the parsing code aware of whether the display for a WPS is a remote or not. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13261 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/backdrop.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'apps/recorder') diff --git a/apps/recorder/backdrop.c b/apps/recorder/backdrop.c index cb6aaa5a32..e31543549d 100644 --- a/apps/recorder/backdrop.c +++ b/apps/recorder/backdrop.c @@ -26,13 +26,8 @@ static fb_data main_backdrop[LCD_HEIGHT][LCD_WIDTH] __attribute__ ((aligned (16))); static fb_data wps_backdrop[LCD_HEIGHT][LCD_WIDTH] __attribute__ ((aligned (16))); #elif LCD_DEPTH == 2 -#if LCD_PIXELFORMAT == VERTICAL_PACKING -static fb_data main_backdrop[(LCD_HEIGHT+3)/4][LCD_WIDTH]; -static fb_data wps_backdrop[(LCD_HEIGHT+3)/4][LCD_WIDTH]; -#else -static fb_data main_backdrop[LCD_HEIGHT][LCD_FBWIDTH]; -static fb_data wps_backdrop[LCD_HEIGHT][LCD_FBWIDTH]; -#endif +static fb_data main_backdrop[LCD_FBHEIGHT][LCD_FBWIDTH]; +static fb_data wps_backdrop[LCD_FBHEIGHT][LCD_FBWIDTH]; #endif static bool main_backdrop_valid = false; -- cgit v1.2.3