From 18dd4ce5aa11515ecd54b01bc33ea5ce848b6990 Mon Sep 17 00:00:00 2001 From: Ian C Date: Tue, 19 Sep 2006 22:39:58 +0000 Subject: Fixed setting of disassembly reader when using function memory interface. --- z80.c | 2 +- z80_config.h | 2 +- 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 -- cgit v1.2.3