diff options
| author | Dave Chapman <dave@dchapman.com> | 2008-03-26 18:18:22 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2008-03-26 18:18:22 +0000 |
| commit | b9bb723f12c95f2b253f822bc9dc9d7f474f8d75 (patch) | |
| tree | ce8e31b32aec877c2918b040254e29734f99c16f /apps/recorder/bmp.c | |
| parent | a53b85a52a71b84cc3137da8b7cbfb035a5285cb (diff) | |
| download | rockbox-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.c | 7 |
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)) |