From 193c5df75d3b6d9e3442e42fa26fd8ccc4c5e3aa Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Wed, 24 Dec 2014 11:43:28 -0500 Subject: XWorld: cleanup - Comment keymaps.h - Tie XWORLD_DEBUG into ROCKBOX_HAS_LOGF to ease debugging - Fix up the manual a little bit Change-Id: I12cfb58001199036cd67dbaa27f164e6790a199d Reviewed-on: http://gerrit.rockbox.org/1084 Reviewed-by: Michael Giacomelli --- apps/plugins/xworld/util.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'apps/plugins/xworld/util.h') diff --git a/apps/plugins/xworld/util.h b/apps/plugins/xworld/util.h index 8852335661..bacb149da9 100644 --- a/apps/plugins/xworld/util.h +++ b/apps/plugins/xworld/util.h @@ -25,12 +25,16 @@ #include "intern.h" -/* #define XWORLD_DEBUG */ +#ifdef ROCKBOX_HAS_LOGF +#define XWORLD_DEBUG +#endif #ifdef XWORLD_DEBUG #define debug(m,f,...) debug_real(m, f, ##__VA_ARGS__) +#define XWORLD_DEBUGMASK ~0 #else #define debug(m,f,...) +#define XWORLD_DEBUGMASK 0 #endif enum { -- cgit v1.2.3