PS2SDK
PS2 Homebrew Libraries
Loading...
Searching...
No Matches
mass_debug.h
1
#ifndef _MASS_DEBUG_H
2
#define _MASS_DEBUG_H 1
3
4
#if defined(BUILDING_USBHDFSD)
5
#define MODNAME "usbhdfsd"
6
#elif defined(BUILDING_IEEE1394_DISK)
7
#define MODNAME "IEEE1394_disk"
8
#else
9
#define MODNAME "VFAT"
10
#endif
11
12
#ifndef MINI_DRIVER
13
#define M_PRINTF(format, args...) printf(MODNAME ": " format, ##args)
14
#else
15
#define M_PRINTF(format, args...) \
16
do { \
17
} while (0)
18
#endif
19
20
#ifdef DEBUG
21
#define XPRINTF(args...) printf(MODNAME ": " args)
22
#define iXPRINTF(args...) Kprintf(MODNAME ": "args)
23
#else
24
#define XPRINTF(args...) \
25
do { \
26
} while (0)
27
#define iXPRINTF(args...) \
28
do { \
29
} while (0)
30
#endif
31
32
#define M_DEBUG XPRINTF
33
34
#endif
/* _MASS_DEBUG_H */
iop
fs
vfat
src
include
mass_debug.h
Generated on Tue Feb 11 2025 21:35:58 for PS2SDK by
1.12.0