summaryrefslogtreecommitdiff
path: root/gdb_remote.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2014-02-18 21:37:31 -0800
committerMichael Pavone <pavone@retrodev.com>2014-02-18 21:37:31 -0800
commitc2366d61ff6e228cb3242993d457ff115cd98c91 (patch)
treed14bfc4716ac2579100486649b087884b8cc9aba /gdb_remote.c
parent9b5ed199e364fb84165a2616434849f63226b8d0 (diff)
Initial work on the x86-32 target
Diffstat (limited to 'gdb_remote.c')
-rw-r--r--gdb_remote.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdb_remote.c b/gdb_remote.c
index bf4d0f6..11070f8 100644
--- a/gdb_remote.c
+++ b/gdb_remote.c
@@ -145,7 +145,9 @@ void write_byte(m68k_context * context, uint32_t address, uint8_t value)
} 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;