diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-09-19 22:39:58 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-09-19 22:39:58 +0000 |
commit | 18dd4ce5aa11515ecd54b01bc33ea5ce848b6990 (patch) | |
tree | 4316f20920527362480753a3cf21e867c24e3076 | |
parent | 9e7e165b9be32bb411fdec110d4a0a0947d4c93b (diff) |
Fixed setting of disassembly reader when using function memory interface.
-rw-r--r-- | z80.c | 2 | ||||
-rw-r--r-- | z80_config.h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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 |