forked from len0rd/rockbox
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
This commit is contained in:
parent
fce66cb835
commit
f51e1f9821
3 changed files with 13 additions and 9 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue