mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
Fix STRIDE macro for multiscreen and add stride support for picture lib.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22615 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
f6025186fd
commit
25123570c7
28 changed files with 194 additions and 112 deletions
|
@ -354,7 +354,8 @@ static int cursor_pos, moves;
|
|||
static void draw_spot(int p)
|
||||
{
|
||||
rb->lcd_bitmap_part( flipit_tokens, 0, spots[p] * TK_HEIGHT,
|
||||
STRIDE(BMPWIDTH_flipit_tokens, BMPHEIGHT_flipit_tokens),
|
||||
STRIDE(SCREEN_MAIN, BMPWIDTH_flipit_tokens,
|
||||
BMPHEIGHT_flipit_tokens),
|
||||
GRID_LEFT + (p%5) * (TK_WIDTH+TK_SPACE),
|
||||
GRID_TOP + (p/5) * (TK_HEIGHT+TK_SPACE),
|
||||
TK_WIDTH, TK_HEIGHT );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue