Mercurial > repos > blastem
comparison 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 |
comparison
equal
deleted
inserted
replaced
564:316facea756d | 565:9324f721efa6 |
---|---|
80 return; | 80 return; |
81 } | 81 } |
82 } | 82 } |
83 } | 83 } |
84 | 84 |
85 #ifdef X86_64 | 85 #ifndef NO_Z80 |
86 | 86 |
87 void zdebugger_print(z80_context * context, char format_char, char * param) | 87 void zdebugger_print(z80_context * context, char format_char, char * param) |
88 { | 88 { |
89 uint32_t value; | 89 uint32_t value; |
90 char format[8]; | 90 char format[8]; |
703 vdp_print_reg_explain(gen->vdp); | 703 vdp_print_reg_explain(gen->vdp); |
704 break; | 704 break; |
705 } | 705 } |
706 break; | 706 break; |
707 } | 707 } |
708 #ifdef X86_64 | 708 #ifndef NO_Z80 |
709 case 'z': { | 709 case 'z': { |
710 genesis_context * gen = context->system; | 710 genesis_context * gen = context->system; |
711 //Z80 debug commands | 711 //Z80 debug commands |
712 switch(input_buf[1]) | 712 switch(input_buf[1]) |
713 { | 713 { |