Added HALT_Z80_ON_DMA flag
Added HALT_Z80_ON_DMA flag to fix issues on some hardware
#define LIB_DEBUG 0
#endif
+/**
+ * \brief
+ * Set it to 1 if you want to force Z80 halt during DMA operation.<br>
+ * Some Megadrive hardware (as 2016 Tectoy Megadrive) needs it as to prevent possible Z80 corruption
+ * bugs (when Z80 access main BUS during DMA operation).
+ */
+#define HALT_Z80_ON_DMA 0
+
/**
* \brief
* Set it to 1 to enable the big Math lookup tables.<br>
