forked from len0rd/rockbox
enable skin debug only in the simulator
it's controled by sim --debugwps option git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27389 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
aa3c676945
commit
4b94912628
3 changed files with 3 additions and 3 deletions
|
|
@ -2044,7 +2044,7 @@ static bool wps_parse(struct wps_data *data, const char *wps_bufptr, bool debug)
|
|||
skin_buffer_free_from_front(sizeof(struct wps_token)
|
||||
* (max_tokens - data->num_tokens));
|
||||
|
||||
#if defined(DEBUG) || defined(SIMULATOR)
|
||||
#ifdef DEBUG_SKIN_ENGINE
|
||||
if (debug)
|
||||
{
|
||||
print_debug_info(data, fail, line_number);
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(DEBUG) || defined(SIMULATOR)
|
||||
#ifdef DEBUG_SKIN_ENGINE
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
|
|
|
|||
|
|
@ -386,7 +386,7 @@ 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)
|
||||
#ifdef SIMULATOR
|
||||
#define DEBUG_SKIN_ENGINE
|
||||
extern bool debug_wps;
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue