summaryrefslogtreecommitdiff
path: root/apps/recorder/bmp.c
diff options
context:
space:
mode:
authorDave Chapman <dave@dchapman.com>2008-03-26 18:18:22 +0000
committerDave Chapman <dave@dchapman.com>2008-03-26 18:18:22 +0000
commitb9bb723f12c95f2b253f822bc9dc9d7f474f8d75 (patch)
treece8e31b32aec877c2918b040254e29734f99c16f /apps/recorder/bmp.c
parenta53b85a52a71b84cc3137da8b7cbfb035a5285cb (diff)
downloadrockbox-b9bb723f12c95f2b253f822bc9dc9d7f474f8d75.zip
rockbox-b9bb723f12c95f2b253f822bc9dc9d7f474f8d75.tar.gz
rockbox-b9bb723f12c95f2b253f822bc9dc9d7f474f8d75.tar.bz2
rockbox-b9bb723f12c95f2b253f822bc9dc9d7f474f8d75.tar.xz
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
Diffstat (limited to 'apps/recorder/bmp.c')
-rw-r--r--apps/recorder/bmp.c7
1 files changed, 6 insertions, 1 deletions
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))