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-vert.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-vert.c')
-rw-r--r-- | firmware/drivers/lcd-16bit-vert.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-16bit-vert.c b/firmware/drivers/lcd-16bit-vert.c index d4ad218d14..6532ea5121 100644 --- a/firmware/drivers/lcd-16bit-vert.c +++ b/firmware/drivers/lcd-16bit-vert.c | |||
@@ -47,11 +47,13 @@ | |||
47 | extern lcd_fastpixelfunc_type* const lcd_fastpixelfuncs_backdrop[]; | 47 | extern lcd_fastpixelfunc_type* const lcd_fastpixelfuncs_backdrop[]; |
48 | extern lcd_fastpixelfunc_type* const lcd_fastpixelfuncs_bgcolor[]; | 48 | extern lcd_fastpixelfunc_type* const lcd_fastpixelfuncs_bgcolor[]; |
49 | 49 | ||
50 | #ifndef DISABLE_ALPHA_BITMAP | ||
50 | static void ICODE_ATTR lcd_alpha_bitmap_part_mix(const fb_data* image, | 51 | static void ICODE_ATTR lcd_alpha_bitmap_part_mix(const fb_data* image, |
51 | const unsigned char *src, int src_x, | 52 | const unsigned char *src, int src_x, |
52 | int src_y, int x, int y, | 53 | int src_y, int x, int y, |
53 | int width, int height, | 54 | int width, int height, |
54 | int stride_image, int stride_src); | 55 | int stride_image, int stride_src); |
56 | #endif /* !DISABLE_ALPHA_BITMAP */ | ||
55 | 57 | ||
56 | #include "lcd-color-common.c" | 58 | #include "lcd-color-common.c" |
57 | #include "lcd-bitmap-common.c" | 59 | #include "lcd-bitmap-common.c" |