summaryrefslogtreecommitdiff
path: root/z80.c
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-09-19 22:39:58 +0000
committerIan C <ianc@noddybox.co.uk>2006-09-19 22:39:58 +0000
commit18dd4ce5aa11515ecd54b01bc33ea5ce848b6990 (patch)
tree4316f20920527362480753a3cf21e867c24e3076 /z80.c
parent9e7e165b9be32bb411fdec110d4a0a0947d4c93b (diff)
Fixed setting of disassembly reader when using function memory interface.
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;