Fix checkwps

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@30950 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2011-11-10 10:07:04 +00:00
parent d6812f471f
commit 34cc4d58ec

View file

@ -153,6 +153,7 @@ struct system_status global_status;
int getwidth(void) { return LCD_WIDTH; }
int getheight(void) { return LCD_HEIGHT; }
int getuifont(void) { return 0; }
#ifdef HAVE_REMOTE_LCD
int remote_getwidth(void) { return LCD_REMOTE_WIDTH; }
int remote_getheight(void) { return LCD_REMOTE_HEIGHT; }
@ -177,6 +178,7 @@ struct screen screens[NB_SCREENS] =
#endif
.getwidth = getwidth,
.getheight = getheight,
.getuifont = getuifont,
#if LCD_DEPTH > 1
.get_foreground=dummy_func2,
.get_background=dummy_func2,
@ -189,6 +191,7 @@ struct screen screens[NB_SCREENS] =
.lcdwidth=LCD_REMOTE_WIDTH,
.lcdheight=LCD_REMOTE_HEIGHT,
.depth=LCD_REMOTE_DEPTH,
.getuifont = getuifont;
.is_color=false,/* No color remotes yet */
.getwidth=remote_getwidth,
.getheight=remote_getheight,