mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 13:12:37 -05:00
Pictureflow: Fix define
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22608 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
9131b16938
commit
0ba0fbb3e7
1 changed files with 1 additions and 1 deletions
|
|
@ -1733,7 +1733,7 @@ void render_slide(struct slide_data *slide, const int alpha)
|
|||
|
||||
#if defined(LCD_STRIDEFORMAT) && LCD_STRIDEFORMAT == VERTICAL_STRIDE
|
||||
#define PIXELSTEP_Y 1
|
||||
#define LCDADDR(x, y) (&buffer[LCD_HEIGHT*(x) + (y)])
|
||||
#define LCDADDR(x, y) (&buffer[BUFFER_HEIGHT*(x) + (y)])
|
||||
#else
|
||||
#define PIXELSTEP_Y BUFFER_WIDTH
|
||||
#define LCDADDR(x, y) (&buffer[(y)*BUFFER_WIDTH + (x)])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue