From 12f3fec388ae56f8fb2e50b681dbde81d4669208 Mon Sep 17 00:00:00 2001 From: Ben Basha Date: Fri, 24 Mar 2006 13:59:54 +0000 Subject: fix the bitmaps position bug on X5 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9229 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/brickmania.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'apps/plugins/brickmania.c') diff --git a/apps/plugins/brickmania.c b/apps/plugins/brickmania.c index 28533cc..ef4dd9e 100644 --- a/apps/plugins/brickmania.c +++ b/apps/plugins/brickmania.c @@ -232,6 +232,16 @@ extern const fb_data brickmania_bricks[]; #endif #define BMPWIDTH_menu 160 +#if LCD_DEPTH == 16 +#define BMPXOFS_start 38 +#define BMPYOFS_start 56 +#define BMPXOFS_resume 42 +#define BMPYOFS_resume 72 +#define BMPXOFS_help 65 +#define BMPYOFS_help 85 +#define BMPXOFS_quit 66 +#define BMPYOFS_quit 99 +#else #define BMPXOFS_start 34 #define BMPYOFS_start 64 #define BMPXOFS_resume 38 @@ -240,6 +250,7 @@ extern const fb_data brickmania_bricks[]; #define BMPYOFS_help 90 #define BMPXOFS_quit 64 #define BMPYOFS_quit 103 +#endif #define HIGHSCORE_XPOS 7 #define HIGHSCORE_YPOS 36 -- cgit v1.1