mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 10:07:38 -04:00
fix the last of the red... note to self, fix backdrop.h!
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24368 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
349bf08ed1
commit
ae91e8b693
2 changed files with 8 additions and 4 deletions
|
@ -35,13 +35,17 @@ void backdrop_show(char* backdrop_buffer);
|
|||
#define LCD_BACKDROP_BYTES 0
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_REMOTE_LCD) && LCD_REMOTE_DEPTH > 1 && !defined(__PCTOOL__)
|
||||
#define REMOTE_LCD_BACKDROP_BYTES \
|
||||
(LCD_REMOTE_FBHEIGHT*LCD_REMOTE_FBWIDTH*sizeof(fb_remote_data))
|
||||
#if defined(HAVE_REMOTE_LCD)
|
||||
bool remote_backdrop_load(const char *filename, char* backdrop_buffer);
|
||||
void remote_backdrop_show(char* backdrop_buffer);
|
||||
|
||||
#if LCD_DEPTH > 1 && LCD_REMOTE_DEPTH > 1 && !defined(__PCTOOL__)
|
||||
#define REMOTE_LCD_BACKDROP_BYTES \
|
||||
(LCD_REMOTE_FBHEIGHT*LCD_REMOTE_FBWIDTH*sizeof(fb_remote_data))
|
||||
#else
|
||||
#define REMOTE_LCD_BACKDROP_BYTES 0
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* _BACKDROP_H */
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
#define MAIN_BUFFER ((2*LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8) \
|
||||
#define MAIN_BUFFER ((1*LCD_HEIGHT*LCD_WIDTH*LCD_DEPTH/8) \
|
||||
+ (SKINNABLE_SCREENS_COUNT * LCD_BACKDROP_BYTES))
|
||||
|
||||
#if (NB_SCREENS > 1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue