diff options
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/lcd-16bit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c index 949f80ffbc..024386e4e5 100644 --- a/firmware/drivers/lcd-16bit.c +++ b/firmware/drivers/lcd-16bit.c | |||
@@ -104,7 +104,7 @@ int lcd_get_drawmode(void) | |||
104 | return drawmode; | 104 | return drawmode; |
105 | } | 105 | } |
106 | 106 | ||
107 | #if !defined(TOSHIBA_GIGABEAT_F) | 107 | #if !defined(TOSHIBA_GIGABEAT_F) || defined(SIMULATOR) |
108 | void lcd_set_foreground(unsigned color) | 108 | void lcd_set_foreground(unsigned color) |
109 | { | 109 | { |
110 | fg_pattern = color; | 110 | fg_pattern = color; |
@@ -116,7 +116,7 @@ unsigned lcd_get_foreground(void) | |||
116 | return fg_pattern; | 116 | return fg_pattern; |
117 | } | 117 | } |
118 | 118 | ||
119 | #if !defined(TOSHIBA_GIGABEAT_F) | 119 | #if !defined(TOSHIBA_GIGABEAT_F) || defined(SIMULATOR) |
120 | void lcd_set_background(unsigned color) | 120 | void lcd_set_background(unsigned color) |
121 | { | 121 | { |
122 | bg_pattern = color; | 122 | bg_pattern = color; |
@@ -231,7 +231,7 @@ fb_data* lcd_get_backdrop(void) | |||
231 | /*** drawing functions ***/ | 231 | /*** drawing functions ***/ |
232 | 232 | ||
233 | /* Clear the whole display */ | 233 | /* Clear the whole display */ |
234 | #if !defined(TOSHIBA_GIGABEAT_F) | 234 | #if !defined(TOSHIBA_GIGABEAT_F) || defined(SIMULATOR) |
235 | void lcd_clear_display(void) | 235 | void lcd_clear_display(void) |
236 | { | 236 | { |
237 | fb_data *dst = LCDADDR(0, 0); | 237 | fb_data *dst = LCDADDR(0, 0); |