1
0
Fork 0
forked from len0rd/rockbox

fiddle with the skin debug output so the load lines arnt shown unless debugwps is enabled

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25162 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2010-03-14 11:32:03 +00:00
parent 2d1937a158
commit 0f69a8152f
3 changed files with 8 additions and 3 deletions

View file

@ -2178,8 +2178,8 @@ bool skin_data_load(enum screen_type screen, struct wps_data *wps_data,
skinfonts[i].name = NULL;
}
#endif
#if defined(DEBUG) || defined(SIMULATOR)
if (isfile)
#ifdef DEBUG_SKIN_ENGINE
if (isfile && debug_wps)
{
DEBUGF("\n=====================\nLoading '%s'\n=====================\n", buf);
}

View file

@ -38,7 +38,6 @@
#endif
#if defined(SIMULATOR) || defined(__PCTOOL__)
extern bool debug_wps;
extern int wps_verbose_level;
#endif

View file

@ -370,4 +370,10 @@ const char *get_id3_token(struct wps_token *token, struct mp3entry *id3,
struct gui_img* find_image(char label, struct wps_data *data);
struct skin_viewport* find_viewport(char label, struct wps_data *data);
#if defined(DEBUG) || defined(SIMULATOR)
#define DEBUG_SKIN_ENGINE
extern bool debug_wps;
#endif
#endif