diff options
author | Max Horn | 2010-04-26 10:28:38 +0000 |
---|---|---|
committer | Max Horn | 2010-04-26 10:28:38 +0000 |
commit | 516fd1dc7642e49cc27f4b43676c4b3ad4d6b97a (patch) | |
tree | 8dce775db82d7dc5f1b990e1b490b5f16ebd9f72 | |
parent | 4decff1a9291e0733812bca290ed5ecab5792003 (diff) | |
download | scummvm-rg350-516fd1dc7642e49cc27f4b43676c4b3ad4d6b97a.tar.gz scummvm-rg350-516fd1dc7642e49cc27f4b43676c4b3ad4d6b97a.tar.bz2 scummvm-rg350-516fd1dc7642e49cc27f4b43676c4b3ad4d6b97a.zip |
PSP: Cleanup trace.h a bit
svn-id: r48802
-rw-r--r-- | backends/platform/psp/trace.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/backends/platform/psp/trace.h b/backends/platform/psp/trace.h index ab33aaa250..8c113bef81 100644 --- a/backends/platform/psp/trace.h +++ b/backends/platform/psp/trace.h @@ -44,8 +44,6 @@ void PSPDebugTrace(bool alsoToScreen, const char *format, ...); extern int psp_debug_indent; #endif -#endif /* TRACE_H */ - // From here on, we allow multiple definitions #undef __PSP_PRINT__ #undef PSP_ERROR @@ -109,13 +107,14 @@ class PSPStackDebugFuncs { public: PSPStackDebugFuncs(const char *name) : _name(name) { - PSP_INFO_PRINT_INDENT("++ %s\n", _name.c_str()); \ + PSP_INFO_PRINT_INDENT("++ %s\n", _name.c_str()); psp_debug_indent++; } ~PSPStackDebugFuncs() { - psp_debug_indent--; \ - if (psp_debug_indent < 0) PSP_ERROR("debug indent < 0\n"); \ + psp_debug_indent--; + if (psp_debug_indent < 0) + PSP_ERROR("debug indent < 0\n"); PSP_INFO_PRINT_INDENT("-- %s\n", _name.c_str()); } }; @@ -131,3 +130,5 @@ public: #undef __PSP_PRINT_TO_FILE_AND_SCREEN__ #undef __PSP_DEBUG_FUNCS__ #undef __PSP_DEBUG_PRINT__ + +#endif /* TRACE_H */ |