Mercurial > repos > blastem
diff gdb_remote.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 | 483f7e7926a6 6811f601008f |
line wrap: on
line diff
--- a/gdb_remote.c Sat Mar 01 17:07:33 2014 -0800 +++ b/gdb_remote.c Sat Mar 01 17:11:06 2014 -0800 @@ -145,7 +145,7 @@ } else if (address >= 0xA00000 && address < 0xA04000) { z80_ram[address & 0x1FFF] = value; genesis_context * gen = context->system; -#ifdef X86_64 +#ifndef NO_Z80 z80_handle_code_write(address & 0x1FFF, gen->z80); #endif return;