PS2SDK
PS2 Homebrew Libraries
module_debug.h
1 #ifndef _MODULE_DEBUG_H
2 #define _MODULE_DEBUG_H
3 
4 // #define MINI_DRIVER
5 
6 #ifndef MINI_DRIVER
7 #include "stdio.h"
8 #define M_PRINTF(format, args...) printf("MX4SIO: " format, ##args);
9 #else
10 #define M_PRINTF(format, args...) \
11  do { \
12  } while (0)
13 #endif
14 
15 
16 #ifdef DEBUG
17 #define M_DEBUG M_PRINTF
18 #else
19 #define M_DEBUG(format, args...) \
20  do { \
21  } while (0)
22 #endif
23 
24 #endif
stdio.h