diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2011-07-23 19:52:43 +0000 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2011-07-23 19:52:43 +0000 |
commit | fb9a9a30b99771bf7284d1d17dcaa1315e11b742 (patch) | |
tree | c82f85f97e6dc97a3b719a686dbd9c525beec3b5 | |
parent | 850ca9e38bd638a211f97920acd142e139287e65 (diff) |
m68k: disable cache emulation for 030+; it wasn't correct and it was causing problems (nw)
-rw-r--r-- | src/emu/cpu/m68000/m68kcpu.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/m68000/m68kcpu.h b/src/emu/cpu/m68000/m68kcpu.h index 1d9817143b7..3a91823bd6f 100644 --- a/src/emu/cpu/m68000/m68kcpu.h +++ b/src/emu/cpu/m68000/m68kcpu.h @@ -903,7 +903,7 @@ INLINE void m68ki_ic_clear(m68ki_cpu_core *m68k) INLINE UINT32 m68ki_ic_readimm16(m68ki_cpu_core *m68k, UINT32 address) { - if(CPU_TYPE_IS_EC020_PLUS(m68k->cpu_type) && (m68k->cacr & M68K_CACR_EI)) +/* if(CPU_TYPE_IS_EC020_PLUS(m68k->cpu_type) && (m68k->cacr & M68K_CACR_EI)) { UINT32 ic_offset = (address >> 1) % M68K_IC_SIZE; if (m68k->ic_address[ic_offset] == address) @@ -921,13 +921,13 @@ INLINE UINT32 m68ki_ic_readimm16(m68ki_cpu_core *m68k, UINT32 address) return data; } } - else + else*/ { return m68k->memory.readimm16(address); } // this can't happen, but Apple GCC insists - return 0; +// return 0; } /* Handles all immediate reads, does address error check, function code setting, |