summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/sp0256.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/sp0256.c')
-rw-r--r--src/emu/sound/sp0256.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/emu/sound/sp0256.c b/src/emu/sound/sp0256.c
index f7d315fd306..67f75baeb00 100644
--- a/src/emu/sound/sp0256.c
+++ b/src/emu/sound/sp0256.c
@@ -50,17 +50,9 @@
#define VERBOSE 0
#define DEBUG_FIFO 0
-#if VERBOSE
-#define LOG(x) logerror x
-#else
-#define LOG(x)
-#endif
+#define LOG(x) do { if (VERBOSE) logerror x; } while (0)
-#ifdef DEBUG_FIFO
-#define LOG_FIFO(x) logerror x
-#else
-#define LOG_FIFO(x)
-#endif
+#define LOG_FIFO(x) do { if (DEBUG_FIFO) logerror x; } while (0)
#define SET_SBY(line_state) { \
if( sp->sby_line != line_state ) \