Rockbox open source high quality audio player as a Music Player Daemon
mpris rockbox mpd libadwaita audio rust zig deno
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

lcd: Fix 4bpp optimized 16-bit alpha blit

Fixes a bug introduced by commit 5d0c382a59 that caused graphical
corruption on anti-aliased fonts.

Change-Id: I6052ca758382bd9a1154d2e2208dee633dd17715

+3 -2
+3 -2
firmware/drivers/lcd-16bit-common.c
··· 498 498 if (stride_alpha) { \ 499 499 alpha_pixels = stride_alpha - alpha_pixels; \ 500 500 alpha += alpha_pixels / ALPHA_PIXELS_PER_BYTE; \ 501 - alpha_data = *alpha++ ^ dmask; \ 502 501 alpha_pixels &= 1; \ 503 - if (alpha_pixels) \ 502 + if (alpha_pixels) { \ 503 + alpha_data = *alpha++ ^ dmask; \ 504 504 alpha_data >>= ALPHA_BPP; \ 505 + } \ 505 506 } \ 506 507 } while(0) 507 508 #define READ_ALPHA() \