Add a comment to clarify how the WPS image buffer size is calculated
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16961 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
fc89f233c7
commit
aa9dbfef19
1 changed files with 4 additions and 0 deletions
|
@ -85,6 +85,10 @@ struct align_pos {
|
|||
#ifdef HAVE_LCD_BITMAP
|
||||
|
||||
#define MAX_IMAGES (26*2) /* a-z and A-Z */
|
||||
|
||||
/* The image buffer is big enough to store one full-screen native bitmap,
|
||||
plus two full-screen mono bitmaps. */
|
||||
|
||||
#define IMG_BUFSIZE ((LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8) \
|
||||
+ (2*LCD_HEIGHT*LCD_WIDTH/8))
|
||||
|
||||
|
|
Loading…
Reference in a new issue