diff options
Diffstat (limited to 'uisimulator/sdl/lcd-bitmap.c')
-rw-r--r-- | uisimulator/sdl/lcd-bitmap.c | 4 |
1 files changed, 3 insertions, 1 deletions
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 */ |