From f51e1f9821f73762477feb7e97e561c51463c24b Mon Sep 17 00:00:00 2001 From: Robert Menes Date: Fri, 4 Dec 2009 11:41:31 +0000 Subject: Fix a typo for the GoGear SA9200 on chessclock, and got the LCD resolution in the right spot this time. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23843 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/sudoku/sudoku.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'apps/plugins/sudoku') diff --git a/apps/plugins/sudoku/sudoku.c b/apps/plugins/sudoku/sudoku.c index acd6065fbc..99b08f21a9 100644 --- a/apps/plugins/sudoku/sudoku.c +++ b/apps/plugins/sudoku/sudoku.c @@ -122,11 +122,9 @@ static const char default_game[9][9] = #define MARK_SIZE 1 /* Mark width and height */ #elif (LCD_HEIGHT==110) && (LCD_WIDTH==138) \ - || (LCD_HEIGHT==128) && (LCD_WIDTH==128) \ - || (LCD_HEIGHT==160) && (LCD_WIDTH==128) + || (LCD_HEIGHT==128) && (LCD_WIDTH==128) /* iPod Mini - 138x110, 9 cells @ 10x10 with 14 border lines */ /* iriver H10 5-6GB - 128x128, 9 cells @ 10x10 with 14 border lines */ -/* Philips GoGear SA9200 - 128x160, 9 cells @ 10x10 with 14 border tiles */ #define MARK_OFFS 1 /* Pixels between border and mark */ #define MARK_SPACE 1 /* Pixels between two marks */ #define MARK_SIZE 2 /* Mark width and height */ @@ -176,6 +174,12 @@ static const char default_game[9][9] = #define MARK_SPACE 2 /* Pixels between two marks */ #define MARK_SIZE 6 /* Mark width and height */ +#elif ((LCD_HEIGHT==160) && (LCD_WIDTH==128)) +/* Philips GoGear SA9200 - 128x160, 9 cells @ 10x10 with 14 border tiles */ +#define MARK_OFFS 1 /* Pixels between border and mark */ +#define MARK_SPACE 1 /* Pixels between two marks */ +#define MARK_SIZE 2 /* Mark width and height */ + #else #error SUDOKU: Unsupported LCD size #endif -- cgit v1.2.3