summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats Lidell <matsl@rockbox.org>2002-08-12 22:14:35 +0000
committerMats Lidell <matsl@rockbox.org>2002-08-12 22:14:35 +0000
commit176db6baa3e4f2e2673bc91adaaa16f86882c9bc (patch)
tree95bca087b9ff8f18e7cf8ceef6d3c51b7192e122
parent6752ee445bceba9ccfa1a7a90c1620013775f4cd (diff)
downloadrockbox-176db6baa3e4f2e2673bc91adaaa16f86882c9bc.tar.gz
rockbox-176db6baa3e4f2e2673bc91adaaa16f86882c9bc.zip
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
-rw-r--r--firmware/drivers/lcd.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/firmware/drivers/lcd.h b/firmware/drivers/lcd.h
index 5b8c68cdc8..506036f015 100644
--- a/firmware/drivers/lcd.h
+++ b/firmware/drivers/lcd.h
@@ -76,7 +76,11 @@ extern void lcd_double_height (bool on);
76#endif 76#endif
77#if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR) 77#if defined(HAVE_LCD_BITMAP) || defined(SIMULATOR)
78 78
79#if defined(SIMULATOR)
80#define LCD_WIDTH 16*11 /* Display width in pixels */
81#else
79#define LCD_WIDTH 112 /* Display width in pixels */ 82#define LCD_WIDTH 112 /* Display width in pixels */
83#endif
80#define LCD_HEIGHT 64 /* Display height in pixels */ 84#define LCD_HEIGHT 64 /* Display height in pixels */
81 85
82#define DRAW_PIXEL(x,y) lcd_framebuffer[(x)][(y)/8] |= (1<<((y)&7)) 86#define DRAW_PIXEL(x,y) lcd_framebuffer[(x)][(y)/8] |= (1<<((y)&7))