Mercurial > repos > blastem
diff debug.c @ 548:a3afee2271ce
Initial work on the x86-32 target
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Tue, 18 Feb 2014 21:37:31 -0800 |
parents | 62860044337d |
children | 9324f721efa6 |
line wrap: on
line diff
--- a/debug.c Tue Feb 18 20:32:10 2014 -0800 +++ b/debug.c Tue Feb 18 21:37:31 2014 -0800 @@ -82,6 +82,8 @@ } } +#ifdef X86_64 + void zdebugger_print(z80_context * context, char format_char, char * param) { uint32_t value; @@ -460,6 +462,8 @@ return context; } +#endif + m68k_context * debugger(m68k_context * context, uint32_t address) { static char last_cmd[1024]; @@ -701,6 +705,7 @@ } break; } +#ifdef X86_64 case 'z': { genesis_context * gen = context->system; //Z80 debug commands @@ -731,6 +736,7 @@ } break; } +#endif case 'q': puts("Quitting"); exit(0);