From 6a5bd81599fbafe8edc92add8316eba74504e49d Mon Sep 17 00:00:00 2001 From: Joost Peters Date: Wed, 23 Sep 2009 16:11:23 +0000 Subject: PSP: improved suspend/resume support [patch from bluddy] svn-id: r44276 --- backends/platform/psp/trace.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'backends/platform/psp/trace.h') 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 #include +// 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 -- cgit v1.2.3