1
0
Fork 0
forked from len0rd/rockbox

Agptek Rocker: Build plugins

Patch provided by Aapo Tahkola.

Change-Id: I37a42a950d78d6b8aa3927ec7aeb30030f7be7a5
This commit is contained in:
Marcin Bukat 2018-03-02 21:53:55 +01:00
parent 0538ba3d59
commit fbb6a2ff6d
52 changed files with 500 additions and 12 deletions

View file

@ -1826,7 +1826,7 @@ static inline pix_t fade_color(pix_t c, unsigned a)
result >>= 8;
return result;
#elif LCD_PIXELFORMAT == RGB888
#elif (LCD_PIXELFORMAT == RGB888 || LCD_PIXELFORMAT == XRGB8888) // FIXME: check this
unsigned int pixel = FB_UNPACK_SCALAR_LCD(c);
unsigned int result;
a = (a + 2) & 0x1fc;