Increase skin buffer on charcell displays so it's actually big enough to load a wps file
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22681 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
c8020748bb
commit
65fff8bdd8
1 changed files with 6 additions and 0 deletions
|
@ -53,6 +53,7 @@
|
|||
*/
|
||||
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
#define MAIN_BUFFER ((LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8) \
|
||||
+ (2*LCD_HEIGHT*LCD_WIDTH/8))
|
||||
|
||||
|
@ -66,7 +67,12 @@
|
|||
|
||||
#define SKIN_BUFFER_SIZE (MAIN_BUFFER + REMOTE_BUFFER) + \
|
||||
(WPS_MAX_TOKENS * sizeof(struct wps_token))
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_LCD_CHARCELLS
|
||||
#define SKIN_BUFFER_SIZE (LCD_HEIGHT * LCD_WIDTH) * 64 + \
|
||||
(WPS_MAX_TOKENS * sizeof(struct wps_token))
|
||||
#endif
|
||||
|
||||
static unsigned char buffer[SKIN_BUFFER_SIZE];
|
||||
static unsigned char *buffer_front = NULL; /* start of the free space,
|
||||
|
|
Loading…
Reference in a new issue