From b9bb723f12c95f2b253f822bc9dc9d7f474f8d75 Mon Sep 17 00:00:00 2001 From: Dave Chapman Date: Wed, 26 Mar 2008 18:18:22 +0000 Subject: 1) Make Rockbox reject any WPSs if there are errors loading any of the required bmps; 2) Make checkwps actually load the images using the Rockbox bmp loader, and reject the WPS in the same was as Rockbox on bmp errors. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16822 a1c6a512-1295-4272-9138-f99709370657 --- apps/recorder/bmp.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'apps/recorder/bmp.c') diff --git a/apps/recorder/bmp.c b/apps/recorder/bmp.c index 3db2cb1..f844c89 100644 --- a/apps/recorder/bmp.c +++ b/apps/recorder/bmp.c @@ -38,11 +38,16 @@ #ifdef HAVE_REMOTE_LCD #include "lcd-remote.h" #endif +#ifndef __PCTOOL__ #include "file.h" #include "config.h" #include "system.h" #include "bmp.h" -#include "lcd.h" +#include "debug.h" +#else +#undef DEBUGF +#define DEBUGF(...) +#endif #ifdef __GNUC__ #define STRUCT_PACKED __attribute__((packed)) -- cgit v1.1