summaryrefslogtreecommitdiff
path: root/gdb_remote.c
diff options
context:
space:
mode:
authorMichael Pavone <pavone@retrodev.com>2014-03-01 17:11:06 -0800
committerMichael Pavone <pavone@retrodev.com>2014-03-01 17:11:06 -0800
commit2cd6ec514cf4747c299c50b29bc8c22cafe2eb43 (patch)
tree813fafe63fb56c5b6c64da91ffdd1629b6cb402e /gdb_remote.c
parent46d4c0ce6e3d5f4f46ada01a6523629de79770ba (diff)
Add a separate flag/define for disabling the Z80 at compile time to ease refactoring
Diffstat (limited to 'gdb_remote.c')
-rw-r--r--gdb_remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb_remote.c b/gdb_remote.c
index 11070f8..dd6a98a 100644
--- a/gdb_remote.c
+++ b/gdb_remote.c
@@ -145,7 +145,7 @@ 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
+#ifndef NO_Z80
z80_handle_code_write(address & 0x1FFF, gen->z80);
#endif
return;