diff debug.c @ 565:9324f721efa6

Add a separate flag/define for disabling the Z80 at compile time to ease refactoring
author Michael Pavone <pavone@retrodev.com>
date Sat, 01 Mar 2014 17:11:06 -0800
parents a3afee2271ce
children 624dd5106060
line wrap: on
line diff
--- a/debug.c	Sat Mar 01 17:07:33 2014 -0800
+++ b/debug.c	Sat Mar 01 17:11:06 2014 -0800
@@ -82,7 +82,7 @@
 	}
 }
 
-#ifdef X86_64
+#ifndef NO_Z80
 
 void zdebugger_print(z80_context * context, char format_char, char * param)
 {
@@ -705,7 +705,7 @@
 				}
 				break;
 			}
-#ifdef X86_64
+#ifndef NO_Z80
 			case 'z': {
 				genesis_context * gen = context->system;
 				//Z80 debug commands