diff options
Diffstat (limited to 'apps/plugins/sudoku')
-rw-r--r-- | apps/plugins/sudoku/sudoku.c | 10 |
1 files changed, 7 insertions, 3 deletions
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] = | |||
122 | #define MARK_SIZE 1 /* Mark width and height */ | 122 | #define MARK_SIZE 1 /* Mark width and height */ |
123 | 123 | ||
124 | #elif (LCD_HEIGHT==110) && (LCD_WIDTH==138) \ | 124 | #elif (LCD_HEIGHT==110) && (LCD_WIDTH==138) \ |
125 | || (LCD_HEIGHT==128) && (LCD_WIDTH==128) \ | 125 | || (LCD_HEIGHT==128) && (LCD_WIDTH==128) |
126 | || (LCD_HEIGHT==160) && (LCD_WIDTH==128) | ||
127 | /* iPod Mini - 138x110, 9 cells @ 10x10 with 14 border lines */ | 126 | /* iPod Mini - 138x110, 9 cells @ 10x10 with 14 border lines */ |
128 | /* iriver H10 5-6GB - 128x128, 9 cells @ 10x10 with 14 border lines */ | 127 | /* iriver H10 5-6GB - 128x128, 9 cells @ 10x10 with 14 border lines */ |
129 | /* Philips GoGear SA9200 - 128x160, 9 cells @ 10x10 with 14 border tiles */ | ||
130 | #define MARK_OFFS 1 /* Pixels between border and mark */ | 128 | #define MARK_OFFS 1 /* Pixels between border and mark */ |
131 | #define MARK_SPACE 1 /* Pixels between two marks */ | 129 | #define MARK_SPACE 1 /* Pixels between two marks */ |
132 | #define MARK_SIZE 2 /* Mark width and height */ | 130 | #define MARK_SIZE 2 /* Mark width and height */ |
@@ -176,6 +174,12 @@ static const char default_game[9][9] = | |||
176 | #define MARK_SPACE 2 /* Pixels between two marks */ | 174 | #define MARK_SPACE 2 /* Pixels between two marks */ |
177 | #define MARK_SIZE 6 /* Mark width and height */ | 175 | #define MARK_SIZE 6 /* Mark width and height */ |
178 | 176 | ||
177 | #elif ((LCD_HEIGHT==160) && (LCD_WIDTH==128)) | ||
178 | /* Philips GoGear SA9200 - 128x160, 9 cells @ 10x10 with 14 border tiles */ | ||
179 | #define MARK_OFFS 1 /* Pixels between border and mark */ | ||
180 | #define MARK_SPACE 1 /* Pixels between two marks */ | ||
181 | #define MARK_SIZE 2 /* Mark width and height */ | ||
182 | |||
179 | #else | 183 | #else |
180 | #error SUDOKU: Unsupported LCD size | 184 | #error SUDOKU: Unsupported LCD size |
181 | #endif | 185 | #endif |