Mercurial > repos > blastem
diff gdb_remote.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 | 92606a032d56 |
children | 9324f721efa6 |
line wrap: on
line diff
--- a/gdb_remote.c Tue Feb 18 20:32:10 2014 -0800 +++ b/gdb_remote.c Tue Feb 18 21:37:31 2014 -0800 @@ -145,7 +145,9 @@ } else if (address >= 0xA00000 && address < 0xA04000) { z80_ram[address & 0x1FFF] = value; genesis_context * gen = context->system; +#ifdef X86_64 z80_handle_code_write(address & 0x1FFF, gen->z80); +#endif return; } else { return;