forked from len0rd/rockbox
Clix: Add support for screen widths larger than 480
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21947 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
86b1f4e287
commit
d58e358477
1 changed files with 8 additions and 1 deletions
|
|
@ -170,7 +170,14 @@ struct highscore highest[NUM_SCORES];
|
||||||
#define BOARD_HEIGHT 18
|
#define BOARD_HEIGHT 18
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if (LCD_WIDTH >= 306 && LCD_HEIGHT>= 204)
|
#if (LCD_WIDTH>=480)
|
||||||
|
#if (LCD_WIDTH/BOARD_WIDTH) > (LCD_HEIGHT/BOARD_HEIGHT)
|
||||||
|
#define CELL_SIZE (LCD_HEIGHT/BOARD_HEIGHT)
|
||||||
|
#else
|
||||||
|
#define CELL_SIZE (LCD_WIDTH/BOARD_WIDTH)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#elif (LCD_WIDTH >= 306 && LCD_HEIGHT>= 204)
|
||||||
#define CELL_SIZE 16
|
#define CELL_SIZE 16
|
||||||
|
|
||||||
#elif (LCD_WIDTH >= 270 && LCD_HEIGHT>= 180)
|
#elif (LCD_WIDTH >= 270 && LCD_HEIGHT>= 180)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue