diff options
author | Joost Peters | 2009-09-23 16:11:23 +0000 |
---|---|---|
committer | Joost Peters | 2009-09-23 16:11:23 +0000 |
commit | 6a5bd81599fbafe8edc92add8316eba74504e49d (patch) | |
tree | 57de3e785bdbe0dfa83ab38131f546a3a2f2a89d /backends/platform/psp/trace.h | |
parent | 227e4e65df7093b2be9b45106b529761a13068dd (diff) | |
download | scummvm-rg350-6a5bd81599fbafe8edc92add8316eba74504e49d.tar.gz scummvm-rg350-6a5bd81599fbafe8edc92add8316eba74504e49d.tar.bz2 scummvm-rg350-6a5bd81599fbafe8edc92add8316eba74504e49d.zip |
PSP: improved suspend/resume support [patch from bluddy]
svn-id: r44276
Diffstat (limited to 'backends/platform/psp/trace.h')
-rw-r--r-- | backends/platform/psp/trace.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/backends/platform/psp/trace.h b/backends/platform/psp/trace.h index 80afdbc4fe..ef8992ceb2 100644 --- a/backends/platform/psp/trace.h +++ b/backends/platform/psp/trace.h @@ -33,8 +33,21 @@ #include <stdarg.h> #include <pspdebug.h> +// Use these defines for debugging + +//#define __PSP_DEBUG__ +//#define __PSP_DEBUG_SUSPEND__ + void PSPDebugTrace (const char *filename, const char *format, ...); void PSPDebugTrace (const char *format, ...); +#ifdef __PSP_DEBUG_SUSPEND__ +#define PSPDebugSuspend(format,...) PSPDebugTrace(format, ## __VA_ARGS__) +#else +#define PSPDegbugSuspend(x) +#define PSPDebugSuspend(format,...) +#endif /* __PSP_DEBUG_SUSPEND__ */ + + #endif // TRACE_H |