forked from len0rd/rockbox
Changed lcd_width for simulator to match size of big font.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1689 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
6752ee445b
commit
176db6baa3
1 changed files with 4 additions and 0 deletions
|
|
@ -76,7 +76,11 @@ extern void lcd_double_height (bool on);
|
||||||
#endif
|
#endif
|
||||||
#if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR)
|
#if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR)
|
||||||
|
|
||||||
|
#if defined(SIMULATOR)
|
||||||
|
#define LCD_WIDTH 16*11 /* Display width in pixels */
|
||||||
|
#else
|
||||||
#define LCD_WIDTH 112 /* Display width in pixels */
|
#define LCD_WIDTH 112 /* Display width in pixels */
|
||||||
|
#endif
|
||||||
#define LCD_HEIGHT 64 /* Display height in pixels */
|
#define LCD_HEIGHT 64 /* Display height in pixels */
|
||||||
|
|
||||||
#define DRAW_PIXEL(x,y) lcd_framebuffer[(x)][(y)/8] |= (1<<((y)&7))
|
#define DRAW_PIXEL(x,y) lcd_framebuffer[(x)][(y)/8] |= (1<<((y)&7))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue