| 1 | #if !defined( DEBUG_H ) && defined( DEBUG ) |
| 2 | #define DEBUG_H |
| 3 | |
| 4 | #include <stdio.h> |
| 5 | |
| 6 | #define DEBUG_LOW 0x1000 |
| 7 | #define DEBUG_MEDIUM 0x2000 |
| 8 | #define DEBUG_HIGH 0x4000 |
| 9 | #define DEBUG_DETAIL 0x8000 |
| 10 | |
| 11 | #define DEBUG_HANDLED 0x0001 |
| 12 | #define DEBUG_UNHANDLED 0x0002 |
| 13 | #define DEBUG_IGNORED 0x0004 |
| 14 | #define DEBUG_UNKNOWN 0x0008 |
| 15 | #define DEBUG_ERROR 0x0010 |
| 16 | #define DEBUG_COMBINE 0x0020 |
| 17 | #define DEBUG_TEXTURE 0x0040 |
| 18 | #define DEBUG_VERTEX 0x0080 |
| 19 | #define DEBUG_TRIANGLE 0x0100 |
| 20 | #define DEBUG_MATRIX 0x0200 |
| 21 | |
| 22 | #define OpenDebugDlg() |
| 23 | #define CloseDebugDlg() |
| 24 | #define StartDump(filename) |
| 25 | #define EndDump() |
| 26 | #define DebugMsg(type, format, ... ) printf(format, ## __VA_ARGS__) |
| 27 | #define DebugRSPState(pci, pc, cmd, w0, w1) |
| 28 | |
| 29 | #endif // DEBUG_H |
| 30 | |