summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--z80.c2
-rw-r--r--z80_config.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/z80.c b/z80.c
index 4141d57..3a15a22 100644
--- a/z80.c
+++ b/z80.c
@@ -141,7 +141,7 @@ Z80 *Z80Init(Z80ReadMemory read_memory,
#ifndef ENABLE_ARRAY_MEMORY
cpu->mread=read_memory;
cpu->mwrite=write_memory;
- cpu->disread=read_disassem;
+ cpu->disread=read_for_disassem;
#endif
cpu->pread=read_port;
cpu->pwrite=write_port;
diff --git a/z80_config.h b/z80_config.h
index 187d8e0..af36944 100644
--- a/z80_config.h
+++ b/z80_config.h
@@ -45,8 +45,8 @@
In this mode the signature of Z80Init changes so that the memory functions
are not passed. ALL processor instances share the same memory.
-*/
#define ENABLE_ARRAY_MEMORY
+*/
#ifdef ENABLE_ARRAY_MEMORY
#define RAMBOT 0x0000