PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
dprintf.h
1
#define REDBOLD "\033[1;31m"
2
#define YELBOLD "\033[1;33m"
3
#define GRNBOLD "\033[1;32m"
4
5
#define GREEN "\033[0;32m"
6
#define YELLOW "\033[0;33m"
7
#define DEFCOL "\033[0m"
8
#include <
stdio.h
>
9
#define ERROR(fmt, x...) printf(REDBOLD "ERROR: " fmt DEFCOL, ##x)
10
#define WARNING(fmt, x...) printf(YELBOLD "WARNING: " fmt DEFCOL, ##x)
11
// #define DEBUG
12
#ifdef DEBUG
13
#define DPRINTF(fmt, x...) printf(REDBOLD "%s: " fmt DEFCOL, __func__, ##x)
14
#define PRINTLN() DPRINTF("%d\n", __LINE__)
15
#else
16
#define DPRINTF(x...)
17
#define PRINTLN()
18
#endif
stdio.h
tools
romimg
src
dprintf.h
Generated on Thu Nov 14 2024 05:25:29 for PS2SDK by
1.9.8