From 2a7bd9fb7b9698b949ae85e24b17921c807c323c Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Sun, 18 Dec 2005 13:04:00 +0000 Subject: New target - iPod Video. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8261 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/jewels.c | 4 ++-- apps/plugins/sudoku.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'apps/plugins') diff --git a/apps/plugins/jewels.c b/apps/plugins/jewels.c index 88938dc125..2031a1cc3b 100644 --- a/apps/plugins/jewels.c +++ b/apps/plugins/jewels.c @@ -103,7 +103,7 @@ #define SWAP_TIMER 30 /* use 22x22 tiles */ -#if (LCD_HEIGHT == 176) && (LCD_WIDTH == 220) && \ +#if (LCD_HEIGHT >= 176) && (LCD_WIDTH >= 220) && \ (LCD_PIXELFORMAT == RGB565SWAPPED) /* size of a tile */ #define TILE_WIDTH 22 @@ -616,7 +616,7 @@ static unsigned short jewel[8][484] = { }; /* use 22x22 tiles */ -#elif (LCD_HEIGHT == 176) && (LCD_WIDTH == 220) && \ +#elif (LCD_HEIGHT >= 176) && (LCD_WIDTH >= 220) && \ (LCD_PIXELFORMAT == RGB565) /* size of a tile */ #define TILE_WIDTH 22 diff --git a/apps/plugins/sudoku.c b/apps/plugins/sudoku.c index 9d02ff162a..586b94b721 100644 --- a/apps/plugins/sudoku.c +++ b/apps/plugins/sudoku.c @@ -381,7 +381,7 @@ static unsigned char num_inverse[10][8]= { /* Numeral 9 */ {0x3f,0x3f,0x1b,0x15,0x15,0x23,0x3f,0x3f}, }; -#elif (LCD_HEIGHT==176) && (LCD_WIDTH==220) +#elif (LCD_HEIGHT>=176) && (LCD_WIDTH>=220) /* iriver h300 */ /* Internal dimensions of a cell */ -- cgit v1.2.3