mirror of
https://github.com/holub/mame
synced 2025-05-07 14:54:35 +03:00
m68kmmu: fix build
ps == 8 should be ps - 8, which cause a compiler error. However, the code doesn't work. It wasn't noticed due to the typo, so remove it for now.
This commit is contained in:
parent
90ff2b28f6
commit
bc7f187e79
@ -1320,17 +1320,6 @@ int m68851_buserror(uint32_t& addr)
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
const int ps = (m_mmu_tc >> 16) & 0xf;
|
|
||||||
for(int i = 0; i < MMU_ATC_ENTRIES; i++)
|
|
||||||
{
|
|
||||||
if ((m_mmu_atc_tag[i] & M68K_MMU_ATC_VALID) &&
|
|
||||||
((m_mmu_atc_data[i] >> ps) << (ps -8)) == ((addr >> ps) << (ps == 8)))
|
|
||||||
{
|
|
||||||
MMULOG("%s: set B in ATC entry %d\n", __func__, i);
|
|
||||||
m_mmu_atc_data[i] |= M68K_MMU_ATC_BUSERROR;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
addr = m_mmu_last_logical_addr;
|
addr = m_mmu_last_logical_addr;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user