summaryrefslogtreecommitdiff
path: root/apps/plugins/pegbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pegbox.c')
-rw-r--r--apps/plugins/pegbox.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/plugins/pegbox.c b/apps/plugins/pegbox.c
index f0fe0cdb6f..2766bb613c 100644
--- a/apps/plugins/pegbox.c
+++ b/apps/plugins/pegbox.c
@@ -747,7 +747,8 @@ static void pegbox_draw_board(struct game_context* pb)
747 747
748 if(type != SPACE) { 748 if(type != SPACE) {
749 rb->lcd_bitmap_part(pegbox_pieces, 0, (type-1)*PIECE_HEIGHT, 749 rb->lcd_bitmap_part(pegbox_pieces, 0, (type-1)*PIECE_HEIGHT,
750 STRIDE(BMPWIDTH_pegbox_pieces,BMPHEIGHT_pegbox_pieces), 750 STRIDE( SCREEN_MAIN,
751 BMPWIDTH_pegbox_pieces,BMPHEIGHT_pegbox_pieces),
751 c * PIECE_WIDTH + BOARD_X, 752 c * PIECE_WIDTH + BOARD_X,
752 r * PIECE_HEIGHT + BOARD_Y, PIECE_WIDTH, 753 r * PIECE_HEIGHT + BOARD_Y, PIECE_WIDTH,
753 PIECE_HEIGHT); 754 PIECE_HEIGHT);