sdk-core
v2026.11.05
PS2 SDK - core tier (build-critical EE/IOP modules)
Toggle main menu visibility
Loading...
Searching...
No Matches
mass_debug.h
Go to the documentation of this file.
1
5
#ifndef _MASS_DEBUG_H
6
#define _MASS_DEBUG_H 1
7
8
#if defined(BUILDING_USBHDFSD)
9
#define MODNAME "usbhdfsd"
10
#elif defined(BUILDING_IEEE1394_DISK)
11
#define MODNAME "IEEE1394_disk"
12
#else
13
#define MODNAME "VFAT"
14
#endif
15
16
#ifndef MINI_DRIVER
17
#define M_PRINTF(format, args...) printf(MODNAME ": " format, ##args)
18
#else
19
#define M_PRINTF(format, args...) \
20
do { \
21
} while (0)
22
#endif
23
24
#ifdef DEBUG
25
#define XPRINTF(args...) printf(MODNAME ": " args)
26
#define iXPRINTF(args...) Kprintf(MODNAME ": "args)
27
#else
28
#define XPRINTF(args...) \
29
do { \
30
} while (0)
31
#define iXPRINTF(args...) \
32
do { \
33
} while (0)
34
#endif
35
36
#define M_DEBUG XPRINTF
37
38
#endif
/* _MASS_DEBUG_H */
core
usbhdfsd
src
vfat
include
mass_debug.h
Generated by
1.18.0