GLES2N64 (from mupen64plus-ae) plugin. Compile and run on the OpenPandora
[mupen64plus-pandora.git] / source / gles2n64 / src / Debug.h
diff --git a/source/gles2n64/src/Debug.h b/source/gles2n64/src/Debug.h
new file mode 100644 (file)
index 0000000..b1fcec2
--- /dev/null
@@ -0,0 +1,30 @@
+#if !defined( DEBUG_H ) && defined( DEBUG )
+#define DEBUG_H
+
+#include <stdio.h>
+
+#define     DEBUG_LOW       0x1000
+#define     DEBUG_MEDIUM    0x2000
+#define     DEBUG_HIGH      0x4000
+#define     DEBUG_DETAIL    0x8000
+
+#define     DEBUG_HANDLED   0x0001
+#define     DEBUG_UNHANDLED 0x0002
+#define     DEBUG_IGNORED   0x0004
+#define     DEBUG_UNKNOWN   0x0008
+#define     DEBUG_ERROR     0x0010
+#define     DEBUG_COMBINE   0x0020
+#define     DEBUG_TEXTURE   0x0040
+#define     DEBUG_VERTEX    0x0080
+#define     DEBUG_TRIANGLE  0x0100
+#define     DEBUG_MATRIX    0x0200
+
+#define OpenDebugDlg()
+#define CloseDebugDlg()
+#define StartDump(filename)
+#define EndDump()
+#define DebugMsg(type, format, ... )  printf(format, ## __VA_ARGS__)
+#define DebugRSPState(pci, pc, cmd, w0, w1)
+
+#endif // DEBUG_H
+