diff options
author | 2015-02-25 08:09:13 +0100 | |
---|---|---|
committer | 2015-02-25 08:09:13 +0100 | |
commit | 6ae44e46f91aa2bd74d9895e6bfd345baebd3d22 (patch) | |
tree | 70be3ad6f499bb138c0335e8d2d16790f6f971b3 /src/emu/cpu/m68000 | |
parent | 33c8d18d612786130c2baafd644604137f6f4ef8 (diff) |
Cleanups and version bumpmame0159
Diffstat (limited to 'src/emu/cpu/m68000')
-rw-r--r-- | src/emu/cpu/m68000/m68000.h | 2 | ||||
-rw-r--r-- | src/emu/cpu/m68000/m68kcpu.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/emu/cpu/m68000/m68000.h b/src/emu/cpu/m68000/m68000.h index d9b9200cee6..a7da4266061 100644 --- a/src/emu/cpu/m68000/m68000.h +++ b/src/emu/cpu/m68000/m68000.h @@ -357,7 +357,7 @@ public: UINT32 ic_address[M68K_IC_SIZE]; /* instruction cache address data */ UINT32 ic_data[M68K_IC_SIZE]; /* instruction cache content data */ - bool ic_valid[M68K_IC_SIZE]; /* instruction cache valid flags */ + bool ic_valid[M68K_IC_SIZE]; /* instruction cache valid flags */ diff --git a/src/emu/cpu/m68000/m68kcpu.h b/src/emu/cpu/m68000/m68kcpu.h index aeb45aadd91..0ca635c630d 100644 --- a/src/emu/cpu/m68000/m68kcpu.h +++ b/src/emu/cpu/m68000/m68kcpu.h @@ -689,14 +689,14 @@ INLINE UINT32 m68ki_ic_readimm16(m68000_base_device *m68k, UINT32 address) if (m68k->cpu_type & (CPU_TYPE_EC020 | CPU_TYPE_020)) { UINT32 tag = (address >> 8) | (m68k->s_flag ? 0x1000000 : 0); - int idx = (address >> 2) & 0x3f; // 1-of-64 select + int idx = (address >> 2) & 0x3f; // 1-of-64 select // do a cache fill if the line is invalid or the tags don't match if ((!m68k->ic_valid[idx]) || (m68k->ic_address[idx] != tag)) { m68k->ic_data[idx] = m68k->read32(address & ~3); -// printf("m68k: doing cache fill at %08x (tag %08x idx %d)\n", address, tag, idx); +// printf("m68k: doing cache fill at %08x (tag %08x idx %d)\n", address, tag, idx); // if no buserror occured, validate the tag if (!m68k->mmu_tmp_buserror_occurred) |