diff options
| author | Dave Chapman <dave@dchapman.com> | 2005-11-14 02:11:26 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2005-11-14 02:11:26 +0000 |
| commit | fca0113f722d66ef906bdd58f1707869bb34b4c5 (patch) | |
| tree | 24f7bb507c5a887afa7d48eb403abe30e3965a25 | |
| parent | b2db4acc7ebb9e48482e85e85103345d650f8a68 (diff) | |
| download | rockbox-fca0113f722d66ef906bdd58f1707869bb34b4c5.zip rockbox-fca0113f722d66ef906bdd58f1707869bb34b4c5.tar.gz rockbox-fca0113f722d66ef906bdd58f1707869bb34b4c5.tar.bz2 rockbox-fca0113f722d66ef906bdd58f1707869bb34b4c5.tar.xz | |
Define framebuffer for 16-bit displays
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7854 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | uisimulator/x11/lcd-x11.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/uisimulator/x11/lcd-x11.c b/uisimulator/x11/lcd-x11.c index 75e29f3..41bf0d1 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); extern bool lcd_display_redraw; #ifdef HAVE_LCD_BITMAP +#if LCD_DEPTH==16 +extern unsigned char lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH*2]; +unsigned char lcd_framebuffer_copy[LCD_HEIGHT][LCD_WIDTH*2]; +#else extern unsigned char lcd_framebuffer[LCD_HEIGHT/YBLOCK][LCD_WIDTH]; unsigned char lcd_framebuffer_copy[LCD_HEIGHT/YBLOCK][LCD_WIDTH]; +#endif void lcd_update (void) { |