diff options
author | Greg White <gwhite@rockbox.org> | 2007-01-04 12:13:56 +0000 |
---|---|---|
committer | Greg White <gwhite@rockbox.org> | 2007-01-04 12:13:56 +0000 |
commit | 922c0d6d3357bcd36f0c695a19ee2ab3f20c52de (patch) | |
tree | 83eae28e2d6954d021a7cba86da73851e8885c30 /firmware/drivers/lcd-16bit.c | |
parent | ae5cf68e481ff09d6da5078ecb8ea6d05d6d3290 (diff) | |
download | rockbox-922c0d6d3357bcd36f0c695a19ee2ab3f20c52de.tar.gz rockbox-922c0d6d3357bcd36f0c695a19ee2ab3f20c52de.zip |
Fix simulator build
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11910 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers/lcd-16bit.c')
-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); |