aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/psp/trace.h
diff options
context:
space:
mode:
Diffstat (limited to 'backends/platform/psp/trace.h')
-rw-r--r--backends/platform/psp/trace.h13
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