diff options
Diffstat (limited to 'uisimulator')
-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 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); | |||
52 | extern bool lcd_display_redraw; | 52 | extern bool lcd_display_redraw; |
53 | 53 | ||
54 | #ifdef HAVE_LCD_BITMAP | 54 | #ifdef HAVE_LCD_BITMAP |
55 | #if LCD_DEPTH==16 | ||
56 | extern unsigned char lcd_framebuffer[LCD_HEIGHT][LCD_WIDTH*2]; | ||
57 | unsigned char lcd_framebuffer_copy[LCD_HEIGHT][LCD_WIDTH*2]; | ||
58 | #else | ||
55 | extern unsigned char lcd_framebuffer[LCD_HEIGHT/YBLOCK][LCD_WIDTH]; | 59 | extern unsigned char lcd_framebuffer[LCD_HEIGHT/YBLOCK][LCD_WIDTH]; |
56 | unsigned char lcd_framebuffer_copy[LCD_HEIGHT/YBLOCK][LCD_WIDTH]; | 60 | unsigned char lcd_framebuffer_copy[LCD_HEIGHT/YBLOCK][LCD_WIDTH]; |
61 | #endif | ||
57 | 62 | ||
58 | void lcd_update (void) | 63 | void lcd_update (void) |
59 | { | 64 | { |