diff options
author | Roman Artiukhin <bahusdrive@gmail.com> | 2024-02-19 13:59:51 +0200 |
---|---|---|
committer | Aidan MacDonald <amachronic@protonmail.com> | 2024-04-01 11:02:04 -0400 |
commit | c36d7768c539921754dd26ded343a08e11ccc0f0 (patch) | |
tree | 2001649699a6d646f6d2fc4ec5400841ee293277 /firmware/drivers/lcd-16bit-common.c | |
parent | 2570909e52b4121d69b0bc6638af8882dae87176 (diff) | |
download | rockbox-c36d7768c539921754dd26ded343a08e11ccc0f0.tar.gz rockbox-c36d7768c539921754dd26ded343a08e11ccc0f0.zip |
Sansa e200v2: bootloader: fit size
Max allowed size: 120860
Old thumb build: 128494
New thumb build: 118514 (fits!)
Disabled:
Logo;
alpha blending capabilities for bitmaps;
Arm stack unwinder (backtrace);
Related forum discussion: https://forums.rockbox.org/index.php/topic,54768.0.html
Fixes FS#12380
Change-Id: I978720d795cb0ef5169103e467cf8386c21d8e93
Diffstat (limited to 'firmware/drivers/lcd-16bit-common.c')
-rw-r--r-- | firmware/drivers/lcd-16bit-common.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-16bit-common.c b/firmware/drivers/lcd-16bit-common.c index 9d24dfe16e..ab136bf238 100644 --- a/firmware/drivers/lcd-16bit-common.c +++ b/firmware/drivers/lcd-16bit-common.c | |||
@@ -335,7 +335,7 @@ void lcd_mono_bitmap(const unsigned char *src, int x, int y, int width, int heig | |||
335 | lcd_mono_bitmap_part(src, 0, 0, width, x, y, width, height); | 335 | lcd_mono_bitmap_part(src, 0, 0, width, x, y, width, height); |
336 | } | 336 | } |
337 | 337 | ||
338 | 338 | #ifndef DISABLE_ALPHA_BITMAP | |
339 | /* About Rockbox' internal alpha channel format (for ALPHA_BPP == 4) | 339 | /* About Rockbox' internal alpha channel format (for ALPHA_BPP == 4) |
340 | * | 340 | * |
341 | * For each pixel, 4bit of alpha information is stored in a byte-stream, | 341 | * For each pixel, 4bit of alpha information is stored in a byte-stream, |
@@ -654,3 +654,4 @@ static void ICODE_ATTR lcd_alpha_bitmap_part_mix( | |||
654 | 654 | ||
655 | BLEND_FINISH; | 655 | BLEND_FINISH; |
656 | } | 656 | } |
657 | #endif /* !DISABLE_ALPHA_BITMAP */ \ No newline at end of file | ||