summaryrefslogtreecommitdiff
path: root/src/devices/oprom/x86emu/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/oprom/x86emu/debug.h')
-rw-r--r--src/devices/oprom/x86emu/debug.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/devices/oprom/x86emu/debug.h b/src/devices/oprom/x86emu/debug.h
index ba180bab40..1b2c3a3f1c 100644
--- a/src/devices/oprom/x86emu/debug.h
+++ b/src/devices/oprom/x86emu/debug.h
@@ -198,6 +198,12 @@
#define DB(x)
#endif
+#ifdef DEBUG
+#define X86EMU_DEBUG_ONLY(x) x
+#else
+#define X86EMU_DEBUG_ONLY(x) X86EMU_UNUSED(x)
+#endif
+
/*-------------------------- Function Prototypes --------------------------*/
#ifdef __cplusplus