summaryrefslogtreecommitdiff
path: root/z80.c
diff options
context:
space:
mode:
Diffstat (limited to 'z80.c')
-rw-r--r--z80.c2
1 files changed, 1 insertions, 1 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;