forked from len0rd/rockbox
The WPS buffer wasn't big enough for my 2.2k WPS file. Increased buffer size to 3k.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7775 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
4ab919e5d8
commit
7053f1e77c
1 changed files with 2 additions and 2 deletions
|
@ -58,7 +58,7 @@
|
|||
#include "bmp.h"
|
||||
#include "atoi.h"
|
||||
#define MAX_IMAGES (26*2) /* a-z and A-Z */
|
||||
#define IMG_BUFSIZE (LCD_HEIGHT * LCD_WIDTH * MAX_IMAGES/25) / 8
|
||||
#define IMG_BUFSIZE (LCD_HEIGHT * LCD_WIDTH * MAX_IMAGES / 25 ) / 8
|
||||
static unsigned char img_buf[IMG_BUFSIZE]; /* image buffer */
|
||||
static unsigned char* img_buf_ptr = img_buf; /* where are in image buffer? */
|
||||
|
||||
|
@ -82,7 +82,7 @@ struct {
|
|||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
#define MAX_LINES (LCD_HEIGHT/5+1)
|
||||
#define FORMAT_BUFFER_SIZE 1600
|
||||
#define FORMAT_BUFFER_SIZE 3072
|
||||
#else
|
||||
#define MAX_LINES 2
|
||||
#define FORMAT_BUFFER_SIZE 400
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue