summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-12-15 11:19:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-12-15 11:19:27 +0000
commitfd1aa1e574c3d39257acb0296e0a084aeec60467 (patch)
treed18a381be407c22a8e0a802529ea764289797ee7
parent26c079c233fdef58fd966a314bb5fee38909d697 (diff)
downloadrockbox-fd1aa1e574c3d39257acb0296e0a084aeec60467.zip
rockbox-fd1aa1e574c3d39257acb0296e0a084aeec60467.tar.gz
rockbox-fd1aa1e574c3d39257acb0296e0a084aeec60467.tar.bz2
rockbox-fd1aa1e574c3d39257acb0296e0a084aeec60467.tar.xz
xoffset is only when not building for a simulator (for now)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4151 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/drivers/lcd-recorder.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-recorder.c b/firmware/drivers/lcd-recorder.c
index 0a95e82..9cc677c 100644
--- a/firmware/drivers/lcd-recorder.c
+++ b/firmware/drivers/lcd-recorder.c
@@ -103,7 +103,9 @@ static struct scrollinfo scroll[SCROLLABLE_LINES];
static int xmargin = 0;
static int ymargin = 0;
static int curfont = FONT_SYSFIXED;
+#ifndef SIMULATOR
static int xoffset = 0; /* needed for flip */
+#endif
unsigned char lcd_framebuffer[LCD_WIDTH][LCD_HEIGHT/8];