diff options
author | Franklin Wei <frankhwei536@gmail.com> | 2014-12-24 11:43:28 -0500 |
---|---|---|
committer | Michael Giacomelli <giac2000@hotmail.com> | 2014-12-28 02:48:42 +0100 |
commit | 193c5df75d3b6d9e3442e42fa26fd8ccc4c5e3aa (patch) | |
tree | 1afbe3a32d57b7689686a715de549a441efc0314 /apps/plugins/xworld/util.h | |
parent | e7c282fed754bfc4a2fbdc2e8e1a7598b5fae27c (diff) | |
download | rockbox-193c5df75d3b6d9e3442e42fa26fd8ccc4c5e3aa.tar.gz rockbox-193c5df75d3b6d9e3442e42fa26fd8ccc4c5e3aa.zip |
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 <giac2000@hotmail.com>
Diffstat (limited to 'apps/plugins/xworld/util.h')
-rw-r--r-- | apps/plugins/xworld/util.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 @@ | |||
25 | 25 | ||
26 | #include "intern.h" | 26 | #include "intern.h" |
27 | 27 | ||
28 | /* #define XWORLD_DEBUG */ | 28 | #ifdef ROCKBOX_HAS_LOGF |
29 | #define XWORLD_DEBUG | ||
30 | #endif | ||
29 | 31 | ||
30 | #ifdef XWORLD_DEBUG | 32 | #ifdef XWORLD_DEBUG |
31 | #define debug(m,f,...) debug_real(m, f, ##__VA_ARGS__) | 33 | #define debug(m,f,...) debug_real(m, f, ##__VA_ARGS__) |
34 | #define XWORLD_DEBUGMASK ~0 | ||
32 | #else | 35 | #else |
33 | #define debug(m,f,...) | 36 | #define debug(m,f,...) |
37 | #define XWORLD_DEBUGMASK 0 | ||
34 | #endif | 38 | #endif |
35 | 39 | ||
36 | enum { | 40 | enum { |