From 305d86d045a6336de893003fb5cffe940fd76eab Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Mon, 9 Feb 2009 00:47:20 +0000 Subject: [PATCH] Fix red and yellow. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19951 a1c6a512-1295-4272-9138-f99709370657 --- firmware/export/config-m200v4.h | 2 +- uisimulator/sdl/lcd-bitmap.c | 4 +++- 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 @@ #define LCD_PIXELFORMAT VERTICAL_PACKING /* Display colours, for screenshots and sim (0xRRGGBB) */ -#define LCD_BARKCOLOR 0x000000 +#define LCD_DARKCOLOR 0x000000 #define LCD_BRIGHTCOLOR 0x5e6854 #define LCD_BL_DARKCOLOR 0x000000 #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) sdl_gui_update(lcd_surface, 0, 0, SIM_LCD_WIDTH, SIM_LCD_HEIGHT, SIM_LCD_WIDTH, SIM_LCD_HEIGHT, background ? UI_LCD_POSX : 0, background? UI_LCD_POSY : 0); -#endif /* LCD_DEPTH <= 8 */ +#else /* LCD_DEPTH > 8 */ + (void)value; /* not yet simulated */ +#endif /* LCD_DEPTH */ } #endif /* HAVE_BACKLIGHT */