Revision 001faf32 hw/fdc.c
b/hw/fdc.c | ||
---|---|---|
37 | 37 |
//#define DEBUG_FLOPPY |
38 | 38 |
|
39 | 39 |
#ifdef DEBUG_FLOPPY |
40 |
#define FLOPPY_DPRINTF(fmt, args...) \
|
|
41 |
do { printf("FLOPPY: " fmt , ##args); } while (0)
|
|
40 |
#define FLOPPY_DPRINTF(fmt, ...) \
|
|
41 |
do { printf("FLOPPY: " fmt , ## __VA_ARGS__); } while (0)
|
|
42 | 42 |
#else |
43 |
#define FLOPPY_DPRINTF(fmt, args...)
|
|
43 |
#define FLOPPY_DPRINTF(fmt, ...) |
|
44 | 44 |
#endif |
45 | 45 |
|
46 |
#define FLOPPY_ERROR(fmt, args...) \
|
|
47 |
do { printf("FLOPPY ERROR: %s: " fmt, __func__ , ##args); } while (0)
|
|
46 |
#define FLOPPY_ERROR(fmt, ...) \
|
|
47 |
do { printf("FLOPPY ERROR: %s: " fmt, __func__ , ## __VA_ARGS__); } while (0)
|
|
48 | 48 |
|
49 | 49 |
/********************************************************/ |
50 | 50 |
/* Floppy drive emulation */ |
Also available in: Unified diff