summaryrefslogtreecommitdiff
path: root/apps/plugins/sudoku
diff options
context:
space:
mode:
authorRobert Menes <rmenes@rockbox.org>2009-12-04 11:41:31 +0000
committerRobert Menes <rmenes@rockbox.org>2009-12-04 11:41:31 +0000
commitf51e1f9821f73762477feb7e97e561c51463c24b (patch)
treef975a13080eaaaa07ba6e35576bc24f1db72da96 /apps/plugins/sudoku
parentfce66cb83570e13a8494fd3d8dfc41b82e8512a0 (diff)
downloadrockbox-f51e1f9821f73762477feb7e97e561c51463c24b.tar.gz
rockbox-f51e1f9821f73762477feb7e97e561c51463c24b.zip
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
Diffstat (limited to 'apps/plugins/sudoku')
-rw-r--r--apps/plugins/sudoku/sudoku.c10
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