summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2011-11-10 10:07:04 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2011-11-10 10:07:04 +0000
commit34cc4d58ecda65363d0fb588072a8508a4f501db (patch)
treea875b2ba04ff559d16aabbe9e59361b2fb036151
parentd6812f471fcc1021cc9f1c433f9859c369a12d6f (diff)
downloadrockbox-34cc4d58ecda65363d0fb588072a8508a4f501db.tar.gz
rockbox-34cc4d58ecda65363d0fb588072a8508a4f501db.zip
Fix checkwps
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30950 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--tools/checkwps/checkwps.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index 7d63cb6654..fbbc564a65 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -153,6 +153,7 @@ struct system_status global_status;
153 153
154int getwidth(void) { return LCD_WIDTH; } 154int getwidth(void) { return LCD_WIDTH; }
155int getheight(void) { return LCD_HEIGHT; } 155int getheight(void) { return LCD_HEIGHT; }
156int getuifont(void) { return 0; }
156#ifdef HAVE_REMOTE_LCD 157#ifdef HAVE_REMOTE_LCD
157int remote_getwidth(void) { return LCD_REMOTE_WIDTH; } 158int remote_getwidth(void) { return LCD_REMOTE_WIDTH; }
158int remote_getheight(void) { return LCD_REMOTE_HEIGHT; } 159int remote_getheight(void) { return LCD_REMOTE_HEIGHT; }
@@ -177,6 +178,7 @@ struct screen screens[NB_SCREENS] =
177#endif 178#endif
178 .getwidth = getwidth, 179 .getwidth = getwidth,
179 .getheight = getheight, 180 .getheight = getheight,
181 .getuifont = getuifont,
180#if LCD_DEPTH > 1 182#if LCD_DEPTH > 1
181 .get_foreground=dummy_func2, 183 .get_foreground=dummy_func2,
182 .get_background=dummy_func2, 184 .get_background=dummy_func2,
@@ -189,6 +191,7 @@ struct screen screens[NB_SCREENS] =
189 .lcdwidth=LCD_REMOTE_WIDTH, 191 .lcdwidth=LCD_REMOTE_WIDTH,
190 .lcdheight=LCD_REMOTE_HEIGHT, 192 .lcdheight=LCD_REMOTE_HEIGHT,
191 .depth=LCD_REMOTE_DEPTH, 193 .depth=LCD_REMOTE_DEPTH,
194 .getuifont = getuifont;
192 .is_color=false,/* No color remotes yet */ 195 .is_color=false,/* No color remotes yet */
193 .getwidth=remote_getwidth, 196 .getwidth=remote_getwidth,
194 .getheight=remote_getheight, 197 .getheight=remote_getheight,