summaryrefslogtreecommitdiff
path: root/uisimulator/x11/lcd-x11.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2005-11-14 02:11:26 +0000
committerDave Chapman <dave@dchapman.com>2005-11-14 02:11:26 +0000
commitfca0113f722d66ef906bdd58f1707869bb34b4c5 (patch)
tree24f7bb507c5a887afa7d48eb403abe30e3965a25 /uisimulator/x11/lcd-x11.c
parentb2db4acc7ebb9e48482e85e85103345d650f8a68 (diff)
downloadrockbox-fca0113f722d66ef906bdd58f1707869bb34b4c5.tar.gz
rockbox-fca0113f722d66ef906bdd58f1707869bb34b4c5.zip
Define framebuffer for 16-bit displays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7854 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/lcd-x11.c')
-rw-r--r--uisimulator/x11/lcd-x11.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/uisimulator/x11/lcd-x11.c b/uisimulator/x11/lcd-x11.c
index 75e29f3554..41bf0d1ec0 100644
--- a/uisimulator/x11/lcd-x11.c
+++ b/uisimulator/x11/lcd-x11.c
@@ -52,8 +52,13 @@ extern void screen_resized(int width, int height);
52extern bool lcd_display_redraw; 52extern bool lcd_display_redraw;
53 53
54#ifdef HAVE_LCD_BITMAP 54#ifdef HAVE_LCD_BITMAP
55#if LCD_DEPTH==16
56extern unsigned char lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH*2];
57unsigned char lcd_framebuffer_copy[LCD_HEIGHT][LCD_WIDTH*2];
58#else
55extern unsigned char lcd_framebuffer[LCD_HEIGHT/YBLOCK][LCD_WIDTH]; 59extern unsigned char lcd_framebuffer[LCD_HEIGHT/YBLOCK][LCD_WIDTH];
56unsigned char lcd_framebuffer_copy[LCD_HEIGHT/YBLOCK][LCD_WIDTH]; 60unsigned char lcd_framebuffer_copy[LCD_HEIGHT/YBLOCK][LCD_WIDTH];
61#endif
57 62
58void lcd_update (void) 63void lcd_update (void)
59{ 64{