mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Fix some build errors and warnings.
Change-Id: I149c00fc6ba47d5134ad4f74c364bffd24079824
This commit is contained in:
parent
dbb76896ec
commit
8f6c779ff6
4 changed files with 12 additions and 6 deletions
|
|
@ -600,9 +600,7 @@ int read_bmp_fd(int fd,
|
|||
resize &= ~IMG_RESIZE;
|
||||
resize |= IMG_NORESIZE;
|
||||
#endif
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
remote = false;
|
||||
#endif
|
||||
}
|
||||
#elif !defined(PLUGIN)
|
||||
if (src_dim.width > BM_MAX_WIDTH)
|
||||
|
|
@ -652,9 +650,7 @@ int read_bmp_fd(int fd,
|
|||
totalsize = cformat->get_size(bm);
|
||||
else {
|
||||
totalsize = BM_SIZE(bm->width,bm->height,format,remote);
|
||||
#ifdef HAVE_REMOTE_LCD
|
||||
if (!remote)
|
||||
#endif
|
||||
if (depth == 32 && read_alpha) /* account for possible 4bit alpha per pixel */
|
||||
totalsize += alphasize;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue