summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/machine/z80pio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/machine/z80pio.c')
-rw-r--r--src/emu/machine/z80pio.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/emu/machine/z80pio.c b/src/emu/machine/z80pio.c
index aa893e027f7..76ca4886973 100644
--- a/src/emu/machine/z80pio.c
+++ b/src/emu/machine/z80pio.c
@@ -22,11 +22,7 @@
#define VERBOSE 0
-#if VERBOSE
-#define VPRINTF(x) logerror x
-#else
-#define VPRINTF(x)
-#endif
+#define VPRINTF(x) do { if (VERBOSE) logerror x; } while (0)