summaryrefslogtreecommitdiffstats
path: root/tools/checkwps
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-01-27 07:15:55 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-01-27 07:15:55 +0000
commit0677405ab1b080ec6c74bbbaea16fdb0924c0aec (patch)
tree6f6e2f2638ed7f5741bf8f18644710e92ef00cb9 /tools/checkwps
parent2565389402662a5f29c0c00eb1db3d80b1f37478 (diff)
downloadrockbox-0677405ab1b080ec6c74bbbaea16fdb0924c0aec.tar.gz
rockbox-0677405ab1b080ec6c74bbbaea16fdb0924c0aec.tar.bz2
rockbox-0677405ab1b080ec6c74bbbaea16fdb0924c0aec.zip
fix red... lets branch
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24341 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/checkwps')
-rw-r--r--tools/checkwps/checkwps.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/tools/checkwps/checkwps.c b/tools/checkwps/checkwps.c
index e9d023306f..92d1443bb8 100644
--- a/tools/checkwps/checkwps.c
+++ b/tools/checkwps/checkwps.c
@@ -183,6 +183,11 @@ int remote_getwidth(void) { return LCD_REMOTE_WIDTH; }
int remote_getheight(void) { return LCD_REMOTE_HEIGHT; }
#endif
+static inline bool backdrop_load(enum backdrop_type bdrop, const char* filename)
+{
+ (void)filename; (void)bdrop; return true;
+}
+
struct screen screens[NB_SCREENS] =
{
{
@@ -200,8 +205,8 @@ struct screen screens[NB_SCREENS] =
#if LCD_DEPTH > 1
.get_foreground=dummy_func2,
.get_background=dummy_func2,
-#endif
.backdrop_load=backdrop_load,
+#endif
},
#ifdef HAVE_REMOTE_LCD
{
@@ -215,8 +220,8 @@ struct screen screens[NB_SCREENS] =
#if LCD_REMOTE_DEPTH > 1
.get_foreground=dummy_func2,
.get_background=dummy_func2,
-#endif
.backdrop_load=backdrop_load,
+#endif
}
#endif
};