summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2009-02-09 00:47:20 +0000
committerJens Arnold <amiconn@rockbox.org>2009-02-09 00:47:20 +0000
commit305d86d045a6336de893003fb5cffe940fd76eab (patch)
tree43de046cbb72ac481cc2afdd511c4aaa11a1e5f7
parent0d935ce75e1408dfd9832ae7dbb7d84df50a645d (diff)
downloadrockbox-305d86d045a6336de893003fb5cffe940fd76eab.tar.gz
rockbox-305d86d045a6336de893003fb5cffe940fd76eab.zip
Fix red and yellow.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19951 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/export/config-m200v4.h2
-rw-r--r--uisimulator/sdl/lcd-bitmap.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/firmware/export/config-m200v4.h b/firmware/export/config-m200v4.h
index c34f33c306..9ce5605a62 100644
--- a/firmware/export/config-m200v4.h
+++ b/firmware/export/config-m200v4.h
@@ -59,7 +59,7 @@
59#define LCD_PIXELFORMAT VERTICAL_PACKING 59#define LCD_PIXELFORMAT VERTICAL_PACKING
60 60
61/* Display colours, for screenshots and sim (0xRRGGBB) */ 61/* Display colours, for screenshots and sim (0xRRGGBB) */
62#define LCD_BARKCOLOR 0x000000 62#define LCD_DARKCOLOR 0x000000
63#define LCD_BRIGHTCOLOR 0x5e6854 63#define LCD_BRIGHTCOLOR 0x5e6854
64#define LCD_BL_DARKCOLOR 0x000000 64#define LCD_BL_DARKCOLOR 0x000000
65#define LCD_BL_BRIGHTCOLOR 0x3ca0e6 65#define LCD_BL_BRIGHTCOLOR 0x3ca0e6
diff --git a/uisimulator/sdl/lcd-bitmap.c b/uisimulator/sdl/lcd-bitmap.c
index 6faa5eb0b2..1d720b80a1 100644
--- a/uisimulator/sdl/lcd-bitmap.c
+++ b/uisimulator/sdl/lcd-bitmap.c
@@ -138,7 +138,9 @@ void sim_backlight(int value)
138 sdl_gui_update(lcd_surface, 0, 0, SIM_LCD_WIDTH, SIM_LCD_HEIGHT, 138 sdl_gui_update(lcd_surface, 0, 0, SIM_LCD_WIDTH, SIM_LCD_HEIGHT,
139 SIM_LCD_WIDTH, SIM_LCD_HEIGHT, 139 SIM_LCD_WIDTH, SIM_LCD_HEIGHT,
140 background ? UI_LCD_POSX : 0, background? UI_LCD_POSY : 0); 140 background ? UI_LCD_POSX : 0, background? UI_LCD_POSY : 0);
141#endif /* LCD_DEPTH <= 8 */ 141#else /* LCD_DEPTH > 8 */
142 (void)value; /* not yet simulated */
143#endif /* LCD_DEPTH */
142} 144}
143#endif /* HAVE_BACKLIGHT */ 145#endif /* HAVE_BACKLIGHT */
144 146