diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/jewels.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/jewels.c b/apps/plugins/jewels.c index 265149f410..bead953b93 100644 --- a/apps/plugins/jewels.c +++ b/apps/plugins/jewels.c | |||
@@ -22,6 +22,7 @@ | |||
22 | #include "plugin.h" | 22 | #include "plugin.h" |
23 | 23 | ||
24 | #ifdef HAVE_LCD_BITMAP | 24 | #ifdef HAVE_LCD_BITMAP |
25 | #if (LCD_DEPTH != 16) || (LCD_WIDTH != 160) | ||
25 | 26 | ||
26 | PLUGIN_HEADER | 27 | PLUGIN_HEADER |
27 | 28 | ||
@@ -1426,7 +1427,7 @@ static unsigned short jewel[8][256] = { | |||
1426 | }; | 1427 | }; |
1427 | 1428 | ||
1428 | /* use 16x16 tiles */ | 1429 | /* use 16x16 tiles */ |
1429 | #elif (LCD_HEIGHT == 128) && (LCD_WIDTH == 160) | 1430 | #elif (LCD_HEIGHT == 128) && (LCD_WIDTH == 160) && (LCD_DEPTH == 2) |
1430 | /* size of a tile */ | 1431 | /* size of a tile */ |
1431 | #define TILE_WIDTH 16 | 1432 | #define TILE_WIDTH 16 |
1432 | #define TILE_HEIGHT 16 | 1433 | #define TILE_HEIGHT 16 |
@@ -2521,4 +2522,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) { | |||
2521 | return PLUGIN_OK; | 2522 | return PLUGIN_OK; |
2522 | } | 2523 | } |
2523 | 2524 | ||
2524 | #endif | 2525 | #endif /* width 160, depth 16 bits */ |
2526 | #endif /* HAVE_LCD_BITMAP */ | ||
2527 | |||