summaryrefslogtreecommitdiff
path: root/debug.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2014-03-01 17:11:06 -0800
committerMichael Pavone <pavone@retrodev.com>2014-03-01 17:11:06 -0800
commit2cd6ec514cf4747c299c50b29bc8c22cafe2eb43 (patch)
tree813fafe63fb56c5b6c64da91ffdd1629b6cb402e /debug.c
parent46d4c0ce6e3d5f4f46ada01a6523629de79770ba (diff)
Add a separate flag/define for disabling the Z80 at compile time to ease refactoring
Diffstat (limited to 'debug.c')
-rw-r--r--debug.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug.c b/debug.c
index b3d1aca..5ed7d4e 100644
--- a/debug.c
+++ b/debug.c
@@ -82,7 +82,7 @@ void strip_nl(char * buf)
}
}
-#ifdef X86_64
+#ifndef NO_Z80
void zdebugger_print(z80_context * context, char format_char, char * param)
{
@@ -705,7 +705,7 @@ m68k_context * debugger(m68k_context * context, uint32_t address)
}
break;
}
-#ifdef X86_64
+#ifndef NO_Z80
case 'z': {
genesis_context * gen = context->system;
//Z80 debug commands