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 /bootloader/show_logo.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 'bootloader/show_logo.c')
-rw-r--r-- | bootloader/show_logo.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bootloader/show_logo.c b/bootloader/show_logo.c index 6584e3f24d..cafcb45dcf 100644 --- a/bootloader/show_logo.c +++ b/bootloader/show_logo.c | |||
@@ -25,8 +25,9 @@ | |||
25 | #include <string.h> | 25 | #include <string.h> |
26 | #include "version.h" | 26 | #include "version.h" |
27 | 27 | ||
28 | #ifndef DISABLE_LOGO | ||
28 | #include "bitmaps/rockboxlogo.h" | 29 | #include "bitmaps/rockboxlogo.h" |
29 | 30 | #endif | |
30 | #if LCD_WIDTH <= 128 | 31 | #if LCD_WIDTH <= 128 |
31 | #define BOOT_VERFMT "Boot %s" | 32 | #define BOOT_VERFMT "Boot %s" |
32 | #else | 33 | #else |
@@ -54,7 +55,9 @@ void show_logo( void ) | |||
54 | lcd_putsxy(text_xpos, 0, verstr); | 55 | lcd_putsxy(text_xpos, 0, verstr); |
55 | lcd_bmp(&bm_rockboxlogo, LOGO_XPOS, 16); | 56 | lcd_bmp(&bm_rockboxlogo, LOGO_XPOS, 16); |
56 | #else | 57 | #else |
58 | #ifndef DISABLE_LOGO | ||
57 | lcd_bmp(&bm_rockboxlogo, LOGO_XPOS, 10); | 59 | lcd_bmp(&bm_rockboxlogo, LOGO_XPOS, 10); |
60 | #endif | ||
58 | lcd_putsxy(text_xpos, LCD_HEIGHT-SYSFONT_HEIGHT, verstr); | 61 | lcd_putsxy(text_xpos, LCD_HEIGHT-SYSFONT_HEIGHT, verstr); |
59 | #endif | 62 | #endif |
60 | 63 | ||