forked from len0rd/rockbox
fix simulator build for the gigabeat
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9973 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
02e97d58b1
commit
9ad02de623
4 changed files with 39 additions and 2 deletions
|
@ -138,7 +138,7 @@ PLUGIN_HEADER
|
|||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
|
||||
#define DIST (10*LCD_HEIGHT/16)
|
||||
#define DIST (10 * MIN(LCD_HEIGHT, LCD_WIDTH) / 16)
|
||||
static int x_off = LCD_WIDTH/2;
|
||||
static int y_off = LCD_HEIGHT/2;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue