summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-bitmap-common.c
diff options
context:
space:
mode:
authorRoman Artiukhin <bahusdrive@gmail.com>2024-02-19 13:59:51 +0200
committerAidan MacDonald <amachronic@protonmail.com>2024-04-01 11:02:04 -0400
commitc36d7768c539921754dd26ded343a08e11ccc0f0 (patch)
tree2001649699a6d646f6d2fc4ec5400841ee293277 /firmware/drivers/lcd-bitmap-common.c
parent2570909e52b4121d69b0bc6638af8882dae87176 (diff)
downloadrockbox-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-bitmap-common.c')
-rw-r--r--firmware/drivers/lcd-bitmap-common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/drivers/lcd-bitmap-common.c b/firmware/drivers/lcd-bitmap-common.c
index 975c494b5a..75d31e3453 100644
--- a/firmware/drivers/lcd-bitmap-common.c
+++ b/firmware/drivers/lcd-bitmap-common.c
@@ -563,7 +563,7 @@ static void LCDFN(putsxyofs)(int x, int y, int ofs, const unsigned char *str)
563 563
564 bits = font_get_bits(pf, *ucs); 564 bits = font_get_bits(pf, *ucs);
565 565
566#if defined(MAIN_LCD) && defined(HAVE_LCD_COLOR) 566#if defined(MAIN_LCD) && defined(HAVE_LCD_COLOR) && !defined(DISABLE_ALPHA_BITMAP)
567 if (pf->depth) 567 if (pf->depth)
568 lcd_alpha_bitmap_part(bits, ofs, 0, width, x, y, 568 lcd_alpha_bitmap_part(bits, ofs, 0, width, x, y,
569 width - ofs, pf->height); 569 width - ofs, pf->height);