summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-16bit.c
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2007-07-15 01:16:15 +0000
committerMichael Sevakis <jethead71@rockbox.org>2007-07-15 01:16:15 +0000
commitba0a9c418cba30575c9282a2bc5aa5c0a4b6a89b (patch)
tree93e86539894caae78167b5002f0d6cb61fc88943 /firmware/drivers/lcd-16bit.c
parentd219491e58159c237f2dcbf60b255dc3c49c159d (diff)
Hrm. Commit the other needed change too. :)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13899 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-16bit.c')
-rw-r--r--firmware/drivers/lcd-16bit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c
index 73e901f583..96711248ff 100644
--- a/firmware/drivers/lcd-16bit.c
+++ b/firmware/drivers/lcd-16bit.c
@@ -49,8 +49,14 @@ fb_data lcd_framebuffer[LCD_FBHEIGHT][LCD_FBWIDTH] IRAM_LCDFRAMEBUFFER __attribu
static fb_data* lcd_backdrop = NULL;
static long lcd_backdrop_offset IDATA_ATTR = 0;
+#if !defined(TOSHIBA_GIGABEAT_F) || defined(SIMULATOR)
static unsigned fg_pattern IDATA_ATTR = LCD_DEFAULT_FG;
static unsigned bg_pattern IDATA_ATTR = LCD_DEFAULT_BG;
+#else
+unsigned fg_pattern IDATA_ATTR = LCD_DEFAULT_FG;
+unsigned bg_pattern IDATA_ATTR = LCD_DEFAULT_BG;
+#endif
+
static int drawmode = DRMODE_SOLID;
static int xmargin = 0;
static int ymargin = 0;