mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
Pictureflow Fixes -- Fixes
The name buffer is using too much ram for some targets will revisit later... removed extraneous call to set_scrol_lline Change-Id: I56d658149bcb0c50857d25924e37bcb46a612c75
This commit is contained in:
parent
e8a3ade0ea
commit
3074ade465
1 changed files with 6 additions and 2 deletions
|
|
@ -38,7 +38,11 @@
|
||||||
|
|
||||||
|
|
||||||
/* Capacity 10 000 entries (for example 10k different albums) */
|
/* Capacity 10 000 entries (for example 10k different albums) */
|
||||||
#define UNIQBUF_SIZE (64*1024)
|
#if PLUGIN_BUFFER_SIZE > 0x10000
|
||||||
|
#define UNIQBUF_SIZE (64*1024)
|
||||||
|
#else /*Bugfix -- Several players havent enough Ram to allow such a large buffer */
|
||||||
|
#define UNIQBUF_SIZE (16*1024)
|
||||||
|
#endif
|
||||||
static long uniqbuf[UNIQBUF_SIZE / sizeof(long)];
|
static long uniqbuf[UNIQBUF_SIZE / sizeof(long)];
|
||||||
|
|
||||||
/******************************* Globals ***********************************/
|
/******************************* Globals ***********************************/
|
||||||
|
|
@ -2829,7 +2833,7 @@ static void draw_album_text(void)
|
||||||
|
|
||||||
albumtxt_x = get_scroll_line_offset(PF_SCROLL_ALBUM);
|
albumtxt_x = get_scroll_line_offset(PF_SCROLL_ALBUM);
|
||||||
mylcd_putsxy(albumtxt_x, albumtxt_y, albumtxt);
|
mylcd_putsxy(albumtxt_x, albumtxt_y, albumtxt);
|
||||||
set_scroll_line(artisttxt, PF_SCROLL_ARTIST);
|
|
||||||
if ((show_album_name == ALBUM_AND_ARTIST_TOP)
|
if ((show_album_name == ALBUM_AND_ARTIST_TOP)
|
||||||
|| (show_album_name == ALBUM_AND_ARTIST_BOTTOM)){
|
|| (show_album_name == ALBUM_AND_ARTIST_BOTTOM)){
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue